Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-10-21, 06:04 AM   #1
wowprime
A Defias Bandit
Join Date: Apr 2009
Posts: 3
help with increasing player nameplate height

Hi all,

I'm trying to change the default blizzard nameplates to increase only the players nameplate height (to make it easier for my old eyes to see ). I tried many approaches and the one that works >90% of the time is:
Code:
hooksecurefunc("DefaultCompactNamePlateFrameAnchorInternal", function(frame, setupOptions)
    if setupOptions and frame.healthBar and not customOptions or not customOptions.ignoreBarSize then
        if setupOptions.healthBarAlpha == 1 then
            PixelUtil.SetHeight(frame.healthBar, setupOptions.healthBarHeight + 10);
        else
            PixelUtil.SetHeight(frame.healthBar, setupOptions.healthBarHeight);
        end

        frame.healthBar.border:UpdateSizes();
    end
end);
however every so often this code taints the ui causing the player nameplate to fall apart.

Any ideas/suggestions on how to achieve this?


Thanks!
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » help with increasing player nameplate height


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