Fixing a few UI stuff.

This commit is contained in:
Vishal 2024-05-31 04:17:15 +05:30 committed by GitHub
parent 8ab596e2b5
commit 603d5bf6bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,