Textbox won't fit text.

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
User avatar
lilurz
Regular
Posts: 27
Joined: Wed Jun 12, 2019 1:40 am
Completed: None, yet.
Projects: The Hawkins Files
Location: Your computer
Contact:

Textbox won't fit text.

#1 Post by lilurz » Sat Aug 24, 2019 1:47 am


User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Textbox won't fit text.

#2 Post by isobellesophia » Sat Aug 24, 2019 1:51 am

lilurz wrote:
Sat Aug 24, 2019 1:47 am
https://prnt.sc/owuj90



Please help!
You need to resize the text dialogue and the name text. (found in gui.rpy.)

I would suggest you do not make the textbox smaller, just make it medium so that the text fits.

Also, i saw that your textbox is not transparent, make it transparent so the white background wont replace its background place.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
lilurz
Regular
Posts: 27
Joined: Wed Jun 12, 2019 1:40 am
Completed: None, yet.
Projects: The Hawkins Files
Location: Your computer
Contact:

Re: Textbox won't fit text.

#3 Post by lilurz » Sat Aug 24, 2019 2:21 am

isobellesophia wrote:
Sat Aug 24, 2019 1:51 am
lilurz wrote:
Sat Aug 24, 2019 1:47 am
https://prnt.sc/owuj90



Please help!
You need to resize the text dialogue and the name text. (found in gui.rpy.)

I would suggest you do not make the textbox smaller, just make it medium so that the text fits.

Also, i saw that your textbox is not transparent, make it transparent so the white background wont replace its background place.

What line is it on?

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Textbox won't fit text.

#4 Post by isobellesophia » Sat Aug 24, 2019 4:14 am

lilurz wrote:
Sat Aug 24, 2019 2:21 am
isobellesophia wrote:
Sat Aug 24, 2019 1:51 am
lilurz wrote:
Sat Aug 24, 2019 1:47 am
https://prnt.sc/owuj90



Please help!
You need to resize the text dialogue and the name text. (found in gui.rpy.)

I would suggest you do not make the textbox smaller, just make it medium so that the text fits.

Also, i saw that your textbox is not transparent, make it transparent so the white background wont replace its background place.

What line is it on?

It is about 131 or 132.

The name text

Code: Select all

## The placement of the speaking character's name, relative to the textbox.
## These can be a whole number of pixels from the left or top, or 0.5 to center.
define gui.name_xpos = 360
define gui.name_ypos = 0
and
the dialogue text

Code: Select all

## The placement of dialogue relative to the textbox. These can be a whole
## number of pixels relative to the left or top side of the textbox, or 0.5 to
## center.
define gui.dialogue_xpos = 402
define gui.dialogue_ypos = 90
Edit it out on your own that fits the textbox. 0.5 is center, 1.0 is right and 0.0 is left.

https://www.renpy.org/doc/html/text.html#text-tag-size
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
lilurz
Regular
Posts: 27
Joined: Wed Jun 12, 2019 1:40 am
Completed: None, yet.
Projects: The Hawkins Files
Location: Your computer
Contact:

Re: Textbox won't fit text.

#5 Post by lilurz » Sat Aug 24, 2019 1:50 pm

isobellesophia wrote:
Sat Aug 24, 2019 4:14 am
lilurz wrote:
Sat Aug 24, 2019 2:21 am
isobellesophia wrote:
Sat Aug 24, 2019 1:51 am


You need to resize the text dialogue and the name text. (found in gui.rpy.)

I would suggest you do not make the textbox smaller, just make it medium so that the text fits.

Also, i saw that your textbox is not transparent, make it transparent so the white background wont replace its background place.

What line is it on?

It is about 131 or 132.

The name text

Code: Select all

## The placement of the speaking character's name, relative to the textbox.
## These can be a whole number of pixels from the left or top, or 0.5 to center.
define gui.name_xpos = 360
define gui.name_ypos = 0
and
the dialogue text

Code: Select all

## The placement of dialogue relative to the textbox. These can be a whole
## number of pixels relative to the left or top side of the textbox, or 0.5 to
## center.
define gui.dialogue_xpos = 402
define gui.dialogue_ypos = 90
Edit it out on your own that fits the textbox. 0.5 is center, 1.0 is right and 0.0 is left.

https://www.renpy.org/doc/html/text.html#text-tag-size

I'm stupid. How did I not know this? Thanks! And it is a pain to fit the textbox and stuff.

Post Reply

Who is online

Users browsing this forum: No registered users