Code: Select all
OpenWindow(0, 0, 0, 1024, 768, "ButtonGadgets", #PB_Window_Background)
ButtonGadget(0, 10, 10, 200, 40, "40px")
ButtonGadget(1, 210, 10, 200, 20, "20px")
ButtonGadget(2, 410, 10, 200, 10, "10px")
ButtonGadget(3, 610, 10, 200, 2, "2px")
; Creates this skew from top, notice Y = 10 on all
; ------ ------- ______ ________
EditorGadget(4, 10, 100, 200, 40)
EditorGadget(5, 210, 100, 200, 20)
EditorGadget(6, 410, 100, 200, 10)
EditorGadget(7, 610, 100, 200, 2)
; These stay in line from top, example correct
; ------ ------- ------- -------
Happens for ButtonGadget and ImageGadget (I believe), maybe other gadgets as well, but hard to tell, the Editorgadget stays on line.
Tried on IE11, Win7, 64bit