You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure weather this is an actual bug or not, but I can't seem to find any sort of solution to this problem so I'm coming here. That being said:
It seems no matter what I do, my console seems to cut off the lower part of words. The text is too far down in the chatbox and despite using all the available commands I can't correctly position the text to avoid being cut off. Here's a screenshot of the cut-off:
the window is 400_w_ 200_h_, and the console is composed of an EditBox at the bottom and a ChatBox that will list commands.
in my Initialize function I set the properties of both to:
I'm setting the size of the text the same in both these boxes, yet my Edit box doesn't do any sort of cutting off as my Chat box is doing. Is this a bug?
The text was updated successfully, but these errors were encountered:
I assume you are using SFML 2.1? The sf::Text::getLocalBounds returns a wrong value in that version which causes Label to clip incorrectly. And since ChatBox uses labels internally, it also gets affected.
I got a better idea, I just disabled clipping in Label. Nobody is going to use this in v0.6 anyway, and by the time v0.7 gets released there will already be an sfml 2.2.
So just download the latest tgui version and the problem should be solved. You don't have to change your sfml version anymore.
I'm not sure weather this is an actual bug or not, but I can't seem to find any sort of solution to this problem so I'm coming here. That being said:
It seems no matter what I do, my console seems to cut off the lower part of words. The text is too far down in the chatbox and despite using all the available commands I can't correctly position the text to avoid being cut off. Here's a screenshot of the cut-off:
the window is 400_w_ 200_h_, and the console is composed of an
EditBox
at the bottom and aChatBox
that will list commands.in my Initialize function I set the properties of both to:
I'm setting the size of the text the same in both these boxes, yet my Edit box doesn't do any sort of cutting off as my Chat box is doing. Is this a bug?
The text was updated successfully, but these errors were encountered: