Possible to make NVL text box smaller?

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
Scott

Possible to make NVL text box smaller?

#1 Post by Scott » Sun Sep 09, 2007 5:13 am

I'd like to make the NVL text box smaller so that the text box is smaller and centered on the screen, with the rest of the background image showing clearly around it. Is it possible to do this?

Cart
Newbie
Posts: 10
Joined: Thu Aug 16, 2007 3:24 pm
Contact:

Re: Possible to make NVL text box smaller?

#2 Post by Cart » Sun Sep 09, 2007 9:44 am

yes it is possible

just play around with "style.nvl_window.xmargin" and "style.nvl_window.ymargin" ^^

Scott

Re: Possible to make NVL text box smaller?

#3 Post by Scott » Sun Sep 09, 2007 4:34 pm

I'd be under the impression that those only affected the margins around the text itself inside the NVL box without actually changing the size of the box itself -- is that incorrect?

Scott

Re: Possible to make NVL text box smaller?

#4 Post by Scott » Sun Sep 09, 2007 4:39 pm

"been", rather... not "be". Sorry, still tired.

Scott

Re: Possible to make NVL text box smaller?

#5 Post by Scott » Sun Sep 09, 2007 5:35 pm

Nevermind, I'm just really dumb and completely misread the documentation.

That having been said... is there a way to style the NVL window itself so that the NVL window has a border of some type?

User avatar
PyTom
Ren'Py Creator
Posts: 15443
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Possible to make NVL text box smaller?

#6 Post by PyTom » Sun Sep 09, 2007 8:01 pm

Sure, you can set style.nvl_window.background to something other than a color.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users