Borders in Screen elements [solved]

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
felsenstern
Regular
Posts: 72
Joined: Tue Jul 11, 2017 2:13 am
Contact:

Borders in Screen elements [solved]

#1 Post by felsenstern »

Hiya,

When I create a simple UI and I start putting elements like hbox, frame, vbox and so on below each other Ren'Py is also stacking borders with each iteration. How can I get rid of all the unwanted space that accumulates with each command?
Last edited by felsenstern on Thu Oct 19, 2023 2:39 pm, edited 1 time in total.
---
Yes, I've Read The F*cking Manual
Yes, I've used the f*cking search function
Yes, I've used a site search
No, I don't need a reminder that search functions exist
No, I don't need your astonished outbreak that I couldn't find the information
No, I don't need your answer if you can't just give it without all the BS around it

Another_Tom
Regular
Posts: 61
Joined: Mon Apr 24, 2023 9:06 am
Completed: Harold And The Witches
Projects: Steven On The Run
itch: dantom
Location: Germany
Contact:

Re: Borders in Screen elements

#2 Post by Another_Tom »

felsenstern wrote: Thu Oct 19, 2023 5:13 am Hiya,

When I create a simple UI and I start putting elements like hbox, frame, vbox and so on below each other Ren'Py is also stacking borders with each iteration. How can I get rid of all the unwanted space that accumulates with each command?
Not sure if I get you right, but try it like this examples:

Code: Select all

frame/vbox:
    background None
    padding 0
    spacing 0
    ...

felsenstern
Regular
Posts: 72
Joined: Tue Jul 11, 2017 2:13 am
Contact:

Re: Borders in Screen elements

#3 Post by felsenstern »

padding did the job, ty!
---
Yes, I've Read The F*cking Manual
Yes, I've used the f*cking search function
Yes, I've used a site search
No, I don't need a reminder that search functions exist
No, I don't need your astonished outbreak that I couldn't find the information
No, I don't need your answer if you can't just give it without all the BS around it

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]