Results 1 to 5 of 5

Thread: New line in menu dvar item

  1. #1
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts

    New line in menu dvar item

    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...

  2. #2
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Ok, closed. I just set my rect's width size lol
    Last edited by Lonsofore; 7th June 2017 at 13:18.

  3. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    maybe you have had autowrapped in your itemdef?

  4. The Following User Says Thank You to serthy For This Useful Post:

    Lonsofore (10th June 2017)

  5. #4
    Private Lonsofore's Avatar
    Join Date
    Oct 2016
    Posts
    86
    Thanks
    82
    Thanked 38 Times in 25 Posts
    Quote Originally Posted by serthy View Post
    maybe you have had autowrapped in your itemdef?
    Well, yea, I used it

  6. #5
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Lonsofore View Post
    Well, yea, I used it
    Thats why your text was wrapped on the itemdef boundary then I guess

  7. The Following User Says Thank You to serthy For This Useful Post:

    Lonsofore (10th June 2017)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •