Dicebar / Raven

Raven add-on for World of Warcraft
9 stars 3 forks source link

Label text alignment #69

Open sp00n opened 5 months ago

sp00n commented 5 months ago

Can we get an alignment option for the label text? I'm creating a vertical display of my debuffs, which includes the debuff name and spell id, and by default the label text is set to centered. The affected line would be 1602 in Nest.lua:

if not isStripe then
    PSetPoint(bl, "LEFT", bar.icon, "LEFT", bg.labelInset, bg.labelOffset)
    bl:SetJustifyH("CENTER")
end

For illustration, this is how it looks with justify set to CENTER vs RIGHT:

image