Some gadgets skews in Y axis
Posted: Wed Dec 07, 2016 11:39 am
A little demo:
All should start on same line, but when it drops to 10px, it skews down a couple of pixels and gets worse.
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
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