Some gadgets skews in Y axis

Just starting out? Need help? Post your questions and find answers here.
StoneOakvalley
Posts: 35
Joined: Tue Apr 05, 2016 2:14 pm
Location: Norway
Contact:

Some gadgets skews in Y axis

Post 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
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: 281
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

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

Post by SparrowhawkMMU »

Confirmed on Mac: SB 2.0.0, OS X 10.11.6, latest versions of Firefox. Chromium, Vivaldi and Safari
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

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

Post by Fred »

I don't think we can do much if the gadgets gets too small unfortunately
Post Reply