http://www.newton-inc.com/dev/techinfo/qa/qa.htm
protoListPicker
?viewFont
slot in the protoListPicker
itself and have that work (just like you can set viewLineSpacing
slot now). In the meantime, you need a piece of workaround code. Warning: you must set the viewFont of the listPicker AND include this workaround code in the viewSetupDoneScript
:func()
begin
if listBase exists and listBase then
SetValue(listBase, 'viewFont, viewFont) ;
inherited:?viewSetupDoneScript();
end;
This will set the viewFont
slot of the listBase
view to the viewFont
of the protoListPicker
. You cannot rely on the listbase view always being there, hence the test for its existence.lineHeight
slot of the listPicker. Just substitute lineHeight
for viewFont
in the code snippet. The one caveat is that the lineHeight
must be at least 13 pixels.