Quantcast WoWInterface - View Single Post - Moving the MainMenuBar
View Single Post
08-12-18, 09:49 AM   #9
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 305
I just relized WoW moved the Xp bar below the MainmenuBar so now if the player is not Max Level the bar shows and my alignment is off.

So Ive been hunting for a solution but cant seem to find one.
Will the following work.
Code:
if UnitLevel("player") == MAX_LEVEL then
   SetPosition(MainMenuBar, "BOTTOM", cDataMainPanel, "TOP", 0, -4)
else
   SetPosition(MainMenuBar, "BOTTOM", cDataMainPanel, "TOP", 0, 9)
end
thanks for any help with this.
Coke
  Reply With Quote