Hi there!
Is there a way to have a standard menu in a grid format? I've got so many options in one of my menus that it runs off the screen, so I'm trying to get multiple columns and I can't figure out if I can get the 'grid' tag to apply to menus. The documentation kinda makes it look like that it only applies to screens and I'm having a hard time getting textbuttons to look even remotely like the menu - I'm still struggling to try and change the font in a screen!
Thanks!
Menu columns?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 33
- Joined: Sat May 04, 2019 8:09 am
- Contact:
Re: Menu columns?
Hi!
You need to know that all the styling is done in screens.rpy. This also involves the choice screen. It looks like this:
Replace it with this:
Hope I could help.
You need to know that all the styling is done in screens.rpy. This also involves the choice screen. It looks like this:
Code: Select all
screen choice(items):
style_prefix "choice"
vbox:
for i in items:
textbutton i.caption action i.action
Code: Select all
screen choice(items):
style_prefix "choice"
vpgrid:
xalign 0.5
yalign 0.5
cols 2
for i in items:
textbutton i.caption action i.action:
xsize 500
-
- Regular
- Posts: 33
- Joined: Sat May 04, 2019 8:09 am
- Contact:
Re: Menu columns?
Awesome, thanks Tojaw! I'll have a play around with it!
Who is online
Users browsing this forum: No registered users