button positions corrected

This commit is contained in:
Michael H.G. Schmidt 2023-02-21 16:37:24 +01:00
parent 1e25d6adce
commit 63fa0edac0
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -112,12 +112,12 @@ S=0.1
X0=W/2-(W*S/2)
Y0=H/2-(W*S/2)
; calculations for buttons
ButtonH=H*0.1
; position calculations for the buttons
GAP=W*0.01
ButtonW=W*0.1
GAP=ButtonW*0.1
ButtonH=H*0.1
BX0=W/4
BX0=ButtonW*3-GAP*1.5
BX1=BX0 + ButtonW + GAP
BX2=BX1 + ButtonW + GAP
BX3=BX2 + ButtonW + GAP
@ -141,7 +141,7 @@ BindGadgetEvent(3, @ButtonHandler())
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
; IDE Options = PureBasic 5.73 LTS (Windows - x64)
; CursorPosition = 123
; FirstLine = 96
; CursorPosition = 125
; FirstLine = 95
; Folding = -
; EnableXP