PDA

View Full Version : New line in menu dvar item



Lonsofore
7th June 2017, 11:44
Hey Killtube. I've found a problem with menu. I use menu item with text from dvar and when I set dvar to text with spaces, I see that in menu item this text becomes divided with new lines.
Let me exmplain with example. We have a menu item with text from dvar "ui_killtube". So, I set ui_killtube to "Test dvar". In my menu I would see this:
Test
dvar
So, is there any solution for this problem? I heard that this was fixed in 1.3, but I use 1.0...

Lonsofore
7th June 2017, 12:06
Ok, closed. I just set my rect's width size lol

serthy
8th June 2017, 07:39
maybe you have had autowrapped in your itemdef?

Lonsofore
9th June 2017, 20:54
maybe you have had autowrapped in your itemdef?

Well, yea, I used it

serthy
9th June 2017, 22:27
Well, yea, I used it

:) Thats why your text was wrapped on the itemdef boundary then I guess