mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-24 07:53:30 +08:00
Fixing a few UI stuff.
This commit is contained in:
parent
8ab596e2b5
commit
603d5bf6bb
@ -117,7 +117,7 @@ class ConfigNumberEdit:
|
||||
position=position,
|
||||
size=(100, 30),
|
||||
text=displayname,
|
||||
maxwidth=160 + xoffset,
|
||||
#maxwidth=160 + xoffset,
|
||||
color=(0.8, 0.8, 0.8, 1.0),
|
||||
h_align='left',
|
||||
v_align='center',
|
||||
@ -125,7 +125,7 @@ class ConfigNumberEdit:
|
||||
)
|
||||
self.valuetext = bui.textwidget(
|
||||
parent=parent,
|
||||
position=(246 + xoffset, position[1]),
|
||||
position=(position[0] + 146 + xoffset, position[1]),
|
||||
size=(60, 28),
|
||||
editable=False,
|
||||
color=(0.3, 1.0, 0.3, 1.0),
|
||||
@ -136,7 +136,7 @@ class ConfigNumberEdit:
|
||||
)
|
||||
self.minusbutton = bui.buttonwidget(
|
||||
parent=parent,
|
||||
position=(330 + xoffset, position[1]),
|
||||
position=(position[0] + 230 + xoffset, position[1]),
|
||||
size=(28, 28),
|
||||
label='-',
|
||||
autoselect=True,
|
||||
@ -146,7 +146,7 @@ class ConfigNumberEdit:
|
||||
)
|
||||
self.plusbutton = bui.buttonwidget(
|
||||
parent=parent,
|
||||
position=(380 + xoffset, position[1]),
|
||||
position=(position[0] + 280 + xoffset, position[1]),
|
||||
size=(28, 28),
|
||||
label='+',
|
||||
autoselect=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user