![]() |
auto-expanding text boxes
Anyone know how to get text boxes to automatically expand based on their content? I can't seem to find a diffrence between any two I look at.
|
Textboxes can't resize based on their content :(
However, the Composit object can shrink to fit and glue objects together. Its pretty buggy though. Doesn't like to update if the contents change while the window is open. |
Hmmm, I'm trying to crush down the examine boxes a bit. When I look at them in the UI builder the description section of recipes Only fits a line and a few pixel of it's text. In game it expands to fit any amount of text the game chooses to dump into it. I want to do the same with the name of the item but I can't get it to work.
|
Examine windows are hard-coded to resize like that. Its actually kind-of annoing since the server assumes the window uses a frame like the default window.
Luckely for you, I think all you need to solve the item name issue is to change text object's maxlines from 1 to 2. Uncheck the "Limit properties shown" box at the bottom of UIBuilder to see all the object's properties ;) |
| All times are GMT -5. The time now is 12:29 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI