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.
-
felsenstern
- Regular
- Posts: 62
- Joined: Tue Jul 11, 2017 2:13 am
-
Contact:
#1
Post
by felsenstern » Mon Nov 01, 2021 6:54 pm
Hiya,
I'm trying to display several lines of text in a vbox. Something like this:
Code: Select all
vbox:
xsize 600
spacing 0
for q in list_of_textlines:
text q
Unfortunately even with spacing set to 0, when the text is displayed within the box, I always can tell where one box ends and the next begins due to the slightly larger gap in the line spacing. Is there any other parameter or setting which I could change to remove this little gap?
---
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
-
philat
- Eileen-Class Veteran
- Posts: 1853
- Joined: Wed Dec 04, 2013 12:33 pm
-
Contact:
#2
Post
by philat » Mon Nov 01, 2021 9:13 pm
spacing can have a negative value. Alternatively, you can increase the line spacing for the text, I suppose.
-
Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
-
Contact:
#3
Post
by Imperf3kt » Mon Nov 01, 2021 11:13 pm
Have you checked its not being caused by scaling?
What does it look like in fullscreen? What about at different resolutions?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project:
GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
-
felsenstern
- Regular
- Posts: 62
- Joined: Tue Jul 11, 2017 2:13 am
-
Contact:
#4
Post
by felsenstern » Tue Nov 02, 2021 2:19 am
Imperf3kt wrote: ↑Mon Nov 01, 2021 11:13 pm
Have you checked its not being caused by scaling?
What does it look like in fullscreen? What about at different resolutions?
the gap stays relatively the same no matter if I resize the game window or switch to full screen.
philat wrote: ↑Mon Nov 01, 2021 9:13 pm
spacing can have a negative value. Alternatively, you can increase the line spacing for the text, I suppose.
This seems to do the trick... at a value of spacing -5 I can't distinguish the line spacing between boxes from the normal line spacing. It still feels a bit dirty using this method...
---
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
Users browsing this forum: No registered users