how to change healthBar width?
I'm trying to make NamePlate1.UnitFrame.healthBar.background:SetSize(100, 6) but only the height changes, the width doesn't change even if I use SetWidth, how can I change the width?
|
If it has more than one anchor set, it might be locked to the size of its parent. If you run :ClearAllPoints(), it'll wipe them out. You'll then need to redefine at least one anchor with :SetPoint() so the game knows where to render it on screen.
For example: Lua Code:
|
i've tried this in the past with success
Lua Code:
|
All times are GMT -6. The time now is 03:27 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI