Found an issue in SpiderBasic ? Please report it here !
StoneOakvalley
 
Posts: 31
Joined: Tue Apr 05, 2016 2:14 pm
Location: Norway

SB2.00 final: Certain gadgets skews in Y axis

by StoneOakvalley Wed Dec 07, 2016 11:39 am

A little demo:

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
Last edited by StoneOakvalley on Wed Dec 07, 2016 12:38 pm, edited 1 time in total.
Registered owner of PureBasic and SpiderBasic :-) Good stuff!
User avatar
SparrowhawkMMU
 
Posts: 277
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

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

by SparrowhawkMMU Wed Dec 07, 2016 12:14 pm

Confirmed on Mac: SB 2.0.0, OS X 10.11.6, latest versions of Firefox. Chromium, Vivaldi and Safari
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 2 guests