Action label showing cropped words

Started by jmdi82, Yesterday at 22:21:44

Previous topic - Next topic

jmdi82

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!


Crimson Wizard

It's possible that the label is simply not big enough for the font. Try increasing the label's Height.

jmdi82

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!

Crimson Wizard

You can do this right in the GUI editor, by changing height property there, or dragging label's size with a mouse.

SMF spam blocked by CleanTalk