I have something that is not obvious and feels wrong. It might be me.
Code: Select all
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget",
#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
LoadFont(1, "Menlo", 13, #PB_Font_Bold) ;; load the font
SetGadgetFont(0, FontID(1)) ;; set the gadget font
For a = 0 To 5
AddGadgetItem(0, a, "Line "+Str(a)) ;; all good, uses loaded font
Next
For a = 0 To 5
AddGadgetItem(0, -1, "Line "+Str(a)) ;; no font bolding, no font change
Next
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
This is PureBasic 5.42 Beta 1 LTS (MacOS X - x64) under OSX 10.9.5
Any thoughts?
Thanks .. mark.


