Load Slot Vertical Spacing
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.
-
JustinHanks
- Newbie
- Posts: 7
- Joined: Tue Nov 01, 2016 12:31 pm
- Contact:
Load Slot Vertical Spacing
I'm trying to reduce the vertical space between load/save slots. Updating the values in gui.rpy did not help. I'm assuming the space is there because it's reserving a spot for the text, but I don't want the text beneath the image. How do I remove the gap? Thanks.
Re: Load Slot Vertical Spacing
If you're using the default load screen in screens.rpy, you can try to add this line into screen file_slot, inside the grid section (under the line style prefix "slot" ) :
yfill True
Then move down several lines until you find :
button:
and add this just below it :
y_margin -20
x_margin -10
You can change the number to suit your needs. You will also need to modify some other properties to make this work, because this method didn't actually remove the gap; it simply expands the button to fill it.
yfill True
Then move down several lines until you find :
button:
and add this just below it :
y_margin -20
x_margin -10
You can change the number to suit your needs. You will also need to modify some other properties to make this work, because this method didn't actually remove the gap; it simply expands the button to fill it.
My avatar is courtesy of Mellanthe
-
JustinHanks
- Newbie
- Posts: 7
- Joined: Tue Nov 01, 2016 12:31 pm
- Contact:
Re: Load Slot Vertical Spacing
It worked. Thank you!
Who is online
Users browsing this forum: Google [Bot]