Quantcast
I can't move the MultiBarBottomRight - WoWInterface
Thread Tools Display Modes
05-25-20, 02:00 AM   #1
Necta
A Defias Bandit
Join Date: May 2020
Posts: 3
I can't move the MultiBarBottomRight

Hi ! Just before i ask my question, i prefer to warn you that i'm a big newbie in this domain and that im not
very comfortable with English ^^ so it may be hard for you as much as me to follow my thoughts ^^.

Ok, let's get into it.
I'm trying to rescale and move my MainMenuBar and my MultiBarBottomRight in order to center my ui and have more visibility ( since you have to rescale all your ui only to rescale your bars via the default settings it's not an option ) and make it as my own little addon! I have no problem to make it work with macro's but as it resets each time i log, i want to make it permanent.

So what im doing here is that i use some scripts that i've found like :

MainMenuBar:SetMovable(true)
MainMenuBar:SetUserPlaced(true)
MainMenuBar:ClearAllPoints()
MainMenuBar:SetPoint('CENTER',UIParent,'CENTER',253.5,-590)
MainMenuBar:SetScale(1.5)

(sorry if it's not correct, i've been trying so many combinations for 5 days that i deleted them day after day)

And i throw it into addon.bool.no/ and then put it in my wow folders.

So here's the thing, i've managed to make it work for the MainMenuBar, but as soon as i add some scripts for the MultiBarBottomRight, everything is breaking down . The bars are not even responding.

So all i want is to move these two bars a bit to the right of my screen to re-center them and then increase their size !

As time goes by i'm wondering if it is really possible? Maybe the art background is tied to the main bar so when you add the Bottom right one it fails ?

Again, sorry for my poor knowledge in API, but this is my last chance. I couldn't find anyone to help me on the french side, and i'm lost more and more as all my attemps are failing one after the other .

Thx in advance, Necta
  Reply With Quote
05-25-20, 07:44 AM   #2
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 154
Show code that is causing the problem
But anyway, you could try moving MultiBarBottomRightActionButton1 or whatever it's called, without touching MultiBarBottomRight itself.
  Reply With Quote
05-25-20, 07:50 AM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,488
What you have to consider is that other elements of the UI are connected to the right side action bars. Moving them may cause the other frames to have issues or move them as well.

So, in addition to what was requested, what is the chain of errors ( if any ) you are getting ? Have you got bugsack/buggrabber or a similar bug tracing addon installed to grab those errors that blizzard doesn't see.

A screenshot of what is happened may help us see what 'everything is breaking down . The bars are not even responding.' means.
__________________
  Reply With Quote
05-25-20, 08:53 AM   #4
Necta
A Defias Bandit
Join Date: May 2020
Posts: 3
So i tried to redo a new one wich is basically this :

MainMenuBar:SetScale(1.04)
MultiBarBottomRight:SetScale(1.04)
MainMenuBar:SetMovable(true)
MainMenuBar:SetUserPlaced(true)
MainMenuBar:ClearAllPoints()
MainMenuBar:SetPoint("CENTER",70,-373)
MultiBarBottomRight:ClearAllPoints()
MultiBarBottomRight:SetPoint("CENTER",MainMenuBar,273,-1)

And surprisingly i didn't get any error . However it still doesn't work https://imgur.com/KYiel43
The font strangely disappeared, the bar isn't responding anymore ( i cant clic on spell/move or Simply interact with it ) and it's not exactly on the coordinates that i have chosen ( too much on the right) .

Edit: I also tried to put MultiBarBottomRight SetSetMovable(true) and SetUserPlaced(true) but it's still the same.

@d87 I'm sorry i dont understand what you mean ? I should replace MultiBarBottomRight with MultiBarBottomRightActionButton1 ?

Oh and sorry for the lack of explanation, it's a bit tough for me to converse like that ^^ .
By saying 'everything is breaking down . The bars are not even responding' i was only talking about the bars affected with the addon. The rest of my UI still work normally !

Last edited by Necta : 05-25-20 at 09:20 AM.
  Reply With Quote
05-25-20, 03:51 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,928
MultiBarBottomRight is managed by UIParent.lua from its UIPARENT_MANAGED_FRAME_POSITIONS table. I suspect changing these values will cause taint though.
__________________
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
05-26-20, 03:03 AM   #6
Necta
A Defias Bandit
Join Date: May 2020
Posts: 3
@SDPhantom So if i understand correctly, i'll have to change every values and other infos in the
UIPARENT_MANAGED_FRAME_POSITIONS group that you highlighted me in order to interact with the MultiBarBottomRight ?
It becomes really complicated for me, the simple fact of having opened the link you posted and seeing all these scripts gave me anxiety x)

Unless i misinterpret what i have to do in order to solve my problem, i think i just might reconsider wanting to move these bars.
It seems that a simple move is in fact a complex action that is tied to a lot of parameters and i didn't think i would get into this at the start.

I was thinking again using MoveAnything but there is not even an option to move the gryphons or the art background wich is a shame for and addon that is litteraly named Move Anything x)so i'll definitiely stick with default UI or use bartender i guess ^^.

Thank you anyway for your time ! I wish you luck in your futur API work ^^
  Reply With Quote
05-26-20, 03:32 PM   #7
Sylen
A Cyclonian
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 48
This works fine for me. Looks like this: https://imgur.com/a/BW0cTJu

Lua Code:
  1. -- Scale the bars
  2. for i = 1, 12 do
  3.     _G["ActionButton"..i]:SetScale(1.04)
  4. end
  5. MultiBarBottomLeft:SetScale(1.04)
  6. MultiBarBottomRight:SetScale(1.04)
  7. PetActionBarFrame:SetScale(1.04)
  8. -- Move ActionBar
  9. ActionButton1:ClearAllPoints()
  10. ActionButton1:SetPoint("CENTER",-230,42)
  11. ActionButton1.SetPoint = function() end
  12. -- Move MultiBarBottomLeft
  13. MultiBarBottomLeft:ClearAllPoints()
  14. MultiBarBottomLeft:SetPoint("LEFT", ActionButton1, "LEFT", 0, 45)
  15. MultiBarBottomLeft.SetPoint = function() end
  16. -- Move MutltiBarBottomRight and make it one bar
  17. MultiBarBottomRight:ClearAllPoints()
  18. MultiBarBottomRight:SetPoint("LEFT", MultiBarBottomLeft, "LEFT", 0, 45)
  19. MultiBarBottomRight.SetPoint = function() end
  20. MultiBarBottomRightButton1:ClearAllPoints()
  21. MultiBarBottomRightButton1:SetPoint("LEFT", MultiBarBottomLeft, "LEFT", 0, 42)     
  22. MultiBarBottomRightButton1.SetPoint = function() end
  23. MultiBarBottomRightButton7:ClearAllPoints()
  24. MultiBarBottomRightButton7:SetPoint("LEFT", MultiBarBottomRightButton6, "LEFT", 42, 0)     
  25. MultiBarBottomRightButton7.SetPoint = function() end   
  26. -- Move StanceBar
  27. StanceButton1:ClearAllPoints()
  28. StanceButton1:SetPoint("LEFT", MultiBarBottomLeft, "LEFT", 0, 42)
  29. StanceButton1.SetPoint = function() end
  30. -- Move PetActionBar
  31. PetActionBarFrame:ClearAllPoints()
  32. PetActionBarFrame:SetPoint("CENTER", MultiBarBottomLeft, "CENTER", 30, 90)
  33. PetActionBarFrame.SetPoint=function()end
  34. -- Move PageButtons
  35. ActionBarUpButton:ClearAllPoints()
  36. ActionBarUpButton:SetPoint("CENTER",650,-15)
  37. -- Hide Blizzard Art
  38. MainMenuBarArtFrame.LeftEndCap:Hide()
  39. MainMenuBarArtFrame.RightEndCap:Hide()
  40. MainMenuBarArtFrameBackground:Hide()
  41. MainMenuBarArtFrame.PageNumber:Hide()
  42. StatusTrackingBarManager:Hide()
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » I can't move the MultiBarBottomRight

Thread Tools
Display Modes

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