View Single Post
04-28-22, 10:24 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
Lua Code:
  1. text:SetPoint("TOPLEFT", 5, -15)
  2. text:SetSize(raidLockoutFrame:GetWidth() - 10, 12) -- fixed with/height

Adjust numbers to suit.

If the string itself has new line characters (\n) they will need to be stripped out:
Code:
raidLockoutFrame.text:SetText(gsub(CreateLockoutText(), "\n", " "))
I'm not sure where CreateLockoutText() comes from because it doesn't seem to be a Blizzard function so maybe that can be altered to return something useful?
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 04-29-22 at 12:12 AM.
  Reply With Quote