custom textboxes
Word count: 5,820 words
This commit is contained in:
parent
ba2d198ba3
commit
0c409e040b
8 changed files with 164 additions and 23 deletions
|
@ -10,23 +10,24 @@
|
|||
screen choice(items):
|
||||
style_prefix "choice"
|
||||
|
||||
vbox:
|
||||
grid 2 6:
|
||||
for i in items:
|
||||
textbutton i.caption action i.action
|
||||
textbutton i.caption action i.action:
|
||||
xalign 0.5
|
||||
|
||||
|
||||
style choice_vbox:
|
||||
style choice_grid:
|
||||
xalign 0.5
|
||||
ypos 405
|
||||
yanchor 0.5
|
||||
yanchor 0.0
|
||||
spacing 33
|
||||
|
||||
style choice_button:
|
||||
is default # This means it doesn't use the usual button styling
|
||||
xysize (926, None)
|
||||
xysize (None, 144)
|
||||
background Frame("gui/button/choice_[prefix_]background.png",
|
||||
150, 25, 150, 25, tile=False)
|
||||
padding (12, 12)
|
||||
padding (100, 12)
|
||||
|
||||
style choice_button_text:
|
||||
is default # This means it doesn't use the usual button text styling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue