WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   DogTags: New Line (https://www.wowinterface.com/forums/showthread.php?t=52860)

Aur0r4 11-04-15 01:19 PM

DogTags: New Line
 
Hi there,

I have a short question about DogTags in PitBull4:

How can I add an empty line e.g. for targets health-text? I looked into lua-files of outdated UIs (Caith UI), mostly they were using "\n" in the DogTag code, but it doesn't work for me, it's alwasy "Syntax Error" :-( ....

Any ideas?
The code is very simple this one here:

Code:

[(~Dead ? Outline HP:Short:HPColor)]
I just need to move the health text a little bit lower.

Phanx 11-05-15 02:04 PM

You can try these:
  • \\n
  • \124n
  • |n
  • ||n
...but if none of those work, then you're probably out of luck with an inline linebreak. Doesn't PitBull have controls for micromanaging the position of everything anyway?

Aur0r4 11-07-15 09:23 AM

Thanks for your answer! Sadly all these tipps didn't work for me :( ..
Thats so weird...why did this work in previous versions?
Pitbull has options to move the text but you can only choose e.g. "attach to Healthbar" at "bottom right" or something else but you cannot move the text where you want ...

I want the Mana and Health Texts look like the second picture, it needs to be more to the center..:





edit: I know that a linebreak do not move the text more into the center^^ but I can attach the text to the bottom right of mana bar, then the x axis is at the correct place, but y isnt
___
Yulu

Phanx 11-07-15 07:51 PM

Quote:

Originally Posted by Aur0r4 (Post 311686)
why did this work in previous versions?

Well, I haven't used DogTag/PitBull since TBC/early WotLK, so I can't even begin to guess... you might try switching to LuaTexts and see if that supports line breaks (in any form).

Aur0r4 10-23-21 06:57 PM

6 years later I know what to do ...


Code:

" "
:p

But to get the same position for the HP/MP text as you can see on Caiths Unitframe, just anchor the text to an "empty space bar" and choose "left" or "right" as position.


All times are GMT -6. The time now is 04:08 PM.

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