Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: jmdi82 on Wed 14/05/2025 22:21:44

Title: Action label showing cropped words
Post by: jmdi82 on Wed 14/05/2025 22:21:44
Hi everybody!

I'm using the TwoClikHandler script that comes with AGS, as well as the Font 3 that comes with special characters (such as ñ, á, é, etc.).

The problem I have is that when I hover the mouse over an object or hotspot with a description that uses a letter with tail (e.g. lowercase g, j, q, p, y), the lower part of that letter will not show and the word appears cropped.

For example: where it should read "Atizador y pala" it seems to show "Atizador v pala".

I've read the manual and I haven't been able to find where the problem resides. Please, advice.

Thanks a lot in advance!

Title: Re: Action label showing cropped words
Post by: Crimson Wizard on Wed 14/05/2025 22:24:15
It's possible that the label is simply not big enough for the font. Try increasing the label's Height.
Title: Re: Action label showing cropped words
Post by: jmdi82 on Wed 14/05/2025 22:28:26
Thank you!!!

I didn't know how to modify the height, but following your advice I took a chance, I went to the TwoClickHandler script and added: "label.height = 20;". And it worked!

Thanks again!
Title: Re: Action label showing cropped words
Post by: Crimson Wizard on Wed 14/05/2025 23:18:28
You can do this right in the GUI editor, by changing height property there, or dragging label's size with a mouse.