Top right element of textgui is misaligned and text bleeds out of gui borders

Started by Igthorn, Sun 11/05/2014 09:35:22

Previous topic - Next topic

Igthorn

Hi


I am having trouble with my text gui - the top right element is being displayed over the other elements instead of next to it and the text seems to be going outside of the border of the box - can anyone tell me what I am doing wrong?

Thanks

Khris



Mandle


Khris

I did a quick test using this:



Didn't help though, the top center image was still painted up to the right edge, and the top-right one on top of it.
It looks like the only alternative is using dynamic sprites, which also means you can't use Display() / Say() any longer (you have to create a custom function).

The long-term solution is to change AGS' internal algorithm to make sure the inner width of the text window is a multiple of the sprite's width.

Igthorn

Bugger!

If you look at the screencap at the top - the word approachable seems to be going off the edge of the space allocated to it (the lighter yellow) - am I making a mistake?

Thanks for your help

Khris

When I tried the evenly sized tiles, I didn't have words going off the edge, so you can at least fix that it seems.

SMF spam blocked by CleanTalk