PitBull Unit Frames 4.0

1102 - wrapping text

make wrapping text an option for people who liked it

User When Change
egormgl Mar 03, 2015 at 20:05 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of essmene essmene Mar 24, 2015 at 21:15 UTC - 0 likes

    it used to work with either "\n" or "|n".

    I made a post at the lua text thread. http://forums.wowace.com/showpost.php?p=334052&postcount=702

    It was working in "v4.0.0-beta54-17-gf55620a"

  • Avatar of nebula169 nebula169 Mar 04, 2015 at 23:32 UTC - 2 likes

    Added "WordWrap()" for use in LuaText functions to enable the old wrapping behavior.

    WordWrap()
    local cur, max = HP(unit), MaxHP(unit)
    return "%s/%s\n%s%%",cur,max,Percent(cur,max)
    
    Last edited Mar 04, 2015 by nebula169
  • 2 comments

Facts

Last updated
Mar 24, 2015
Reported
Mar 03, 2015
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees