• Dear Guest,

    You're browsing our forum as a Guest meaning you can only see a portion of the forum in read-only mode.
    To view all forum nodes and be able to create threads/posts please register or log-in with your existing account.

    TwinStar team

simple default bars rearrangement addon help

wreckfish

Authorized
Joined
Feb 2, 2016
hi,

I tried to rearrange the default bars/textures to my taste but when I start the game my positoins differ from the set ones (it generally seems that theres a 1-3 px difference) but the castbar is off about 10-20 vertically - also the talent micro bar button shows up although it should be hidden - anyone got an idea whats wrong and can help me?

Screenshot

Code:

MainMenuBarPageNumber:Hide()
ActionBarUpButton:Hide()
ActionBarDownButton:Hide()
MainMenuXPBarTexture2:Hide()
MainMenuXPBarTexture3:Hide()
MainMenuBarTexture2:Hide()
MainMenuBarTexture3:Hide()
MainMenuMaxLevelBar2:Hide()
MainMenuMaxLevelBar3:Hide()
MainMenuXPBarTexture0:SetPoint("BOTTOM", "MainMenuExpBar", "BOTTOM", -128, 2)
MainMenuXPBarTexture1:SetPoint("BOTTOM", "MainMenuExpBar", "BOTTOM", 128, 3)
MainMenuMaxLevelBar0:SetPoint("BOTTOM", "MainMenuBarMaxLevelBar", "TOP", -128, 0)
MainMenuBarTexture0:SetPoint("BOTTOM", "MainMenuBarArtFrame", "BOTTOM", -128, 0)
MainMenuBarTexture1:SetPoint("BOTTOM", "MainMenuBarArtFrame", "BOTTOM", 128, 0)
MainMenuBarLeftEndCap:SetPoint("BOTTOM", "MainMenuBarArtFrame", "BOTTOM", -290, 0)
MainMenuBarRightEndCap:SetPoint("BOTTOM", "MainMenuBarArtFrame", "BOTTOM", 287, 0)
MainMenuBar:SetWidth(512)
MainMenuExpBar:SetWidth(512)
ReputationWatchBar:SetWidth(512)
MainMenuBarMaxLevelBar:SetWidth(512)
ReputationWatchStatusBar:SetWidth(512)
MultiBarBottomLeft:ClearAllPoints()
MultiBarBottomLeft:SetPoint("BOTTOM", 0,55)
MultiBarBottomRight:ClearAllPoints()
MultiBarBottomRight:SetPoint("BOTTOM", 0,98)
ShapeshiftButton1:ClearAllPoints()
ShapeshiftButton1:SetPoint("BOTTOM",0,39)
CastingBarFrame:ClearAllPoints()
CastingBarFrame:SetPoint("BOTTOM", 0,175)
CharacterMicroButton:Hide()
SpellbookMicroButton:Hide()
TalentMicroButton:Hide()
QuestLogMicroButton:Hide()
MainMenuMicroButton:Hide()
HelpMicroButton:ClearAllPoints()
HelpMicroButton:SetPoint("BOTTOM",287,11)
SocialsMicroButton:Hide()
WorldMapMicroButton:Hide()
CharacterBag3Slot:Hide()
CharacterBag2Slot:Hide()
CharacterBag1Slot:Hide()
CharacterBag0Slot:Hide()
MainMenuBarBackpackButton:Hide()
KeyRingButton:Hide()



thank you very much,
wreckfish
 
I now also also set MultiBarBottomLeft/Right:Width(512) - made the Addon load on Player_Login and disabled all other addons - now the MultibarBottomLeft position is wrong and the KeyRingButton shows up when I login.

Strange thing is I put all commands in a function - the function gets called upon player login and the positions are off. But if I recall said function via /run function() the positions correct themselves and the KeyRingButton disappears like it should. I dont get why the same function acts different, I have to manually /run it so the positions are right.
 
Top Bottom