EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   auto-expanding text boxes (https://www.eq2interface.com/forums/showthread.php?t=2087)

Lexorin 03-23-2005 10:53 AM

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.

Zonx 03-25-2005 09:31 AM

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.

Lexorin 03-26-2005 07:47 PM

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.

Zonx 03-29-2005 07:46 AM

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