Why panel gadget needs a lot of margin space?
Posted: Tue Jul 12, 2016 7:51 pm
Why the Mac OS panel gadget needs a huge (up to 10 pixel) margin? Is that OS specific?
Windows:

Mac OS:

Code: Select all
#dist = 10 ; frame width between window and panel
OpenWindow(0, 0, 0, 322, 220, "PanelGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
PanelGadget(0, #dist, #dist, WindowWidth(0) - #dist * 2, WindowHeight(0) - #dist * 2)
AddGadgetItem (0, -1, "Panel 1")
AddGadgetItem (0, -1, "Panel 2")
CloseGadgetList()
Repeat: Until WaitWindowEvent() = #PB_Event_CloseWindow
Mac OS:
