WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Resizing frame according to given text (https://www.wowinterface.com/forums/showthread.php?t=46821)

Malsomnus 07-16-13 10:11 AM

Resizing frame according to given text
 
I have a frame that displays strings. Is there a simple way to know how big the frame must be to accommodate a given string (with a specific font, of course)?

semlar 07-16-13 11:16 AM

You could anchor the frame to the string using SetPoint.

Dridzt 07-16-13 01:47 PM

This recent discussion was about just that.

Malsomnus 07-16-13 01:58 PM

I wonder how I missed that. Thanks :)


All times are GMT -6. The time now is 01:40 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI