Thread Tools Display Modes
06-14-23, 01:05 AM   #1
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
Text shortening - how to get around this?

Patch 10 introduced shortening of the displayed text as in the image below:

Subsequent display of the same window already shows the full text, without shortening:

How to make the text displayed in full form right away?

Lua Code:
  1. WOWTR_CheckButton11.Text:SetText("|cffffffffActivate quest translations|r");
  Reply With Quote
06-14-23, 09:14 AM   #2
I did that?
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,735
The shortening is a product of the FontString having a set size (width and height or SetPoint()s) that is shorter than the text being set and not tall enough to wrap.

If the fontstring is tall enough to take multiple lines of text but too short, the text will wrap until it runs out of space. If it's short and not tall enough, it will terminate in ...

Something is changing the FontString or parent frame size between the display of the two images.
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 06-14-23 at 02:06 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Text shortening - how to get around this?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off