Left is 6.10beta 7 and on the right is LTS6.10. Same program using Geneva 12 in a ListViewGadget.
Oddly, if I run the ListViewGadget Help example I get the tall spacing in any version.

Code: Select all
#geneva12=1 ; only in beta 7 and before!
LoadFont(#geneva12,"Geneva",12)
If OpenWindow(0, 0, 0, 270, 140, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ListViewGadget(0, 10, 10, 250, 120)
For a = 1 To 12
AddGadgetItem (0, -1, "Item " + Str(a) + " of the Listview") ; define listview content
Next
SetGadgetFont(0,FontID(#geneva12)) ; take this out and get tall lines
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Code: Select all
#geneva12=1 ; only in beta 7 and before!
Global rowHeight.cgfloat
LoadFont(#geneva12,"Geneva",12)
If OpenWindow(0, 0, 0, 270, 140, "ListViewGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ListViewGadget(0, 10, 10, 250, 120)
For a = 1 To 12
AddGadgetItem (0, -1, "Item " + Str(a) + " of the Listview") ; define listview content
Next
CocoaMessage(@rowHeight, GadgetID(0), "rowHeight")
Debug "Default: " + rowHeight
SetGadgetFont(0,FontID(#geneva12)) ; take this out and get tall lines
CocoaMessage(@rowHeight, GadgetID(0), "rowHeight")
Debug "Geneva: " + rowHeight
rowHeight = 20.0
CocoaMessage(0, GadgetID(0), "setRowHeight:@", @rowHeight)
CocoaMessage(@rowHeight, GadgetID(0), "rowHeight")
Debug "My rowHeight: " + rowHeight
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf