Page 1 of 1

Some gadgets skews in Y axis

Posted: Wed Dec 07, 2016 11:39 am
by StoneOakvalley
A little demo:

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
; ------ ------- ------- -------
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

Re: SB2.00 final: Certain gadgets skews in Y axis

Posted: Wed Dec 07, 2016 12:14 pm
by SparrowhawkMMU
Confirmed on Mac: SB 2.0.0, OS X 10.11.6, latest versions of Firefox. Chromium, Vivaldi and Safari

Re: SB2.00 final: Certain gadgets skews in Y axis

Posted: Fri Oct 21, 2022 8:54 am
by Fred
I don't think we can do much if the gadgets gets too small unfortunately