View Single Post
07-18-18, 04:31 AM   #1
Kenjub
A Deviate Faerie Dragon
Join Date: Jul 2018
Posts: 15
8.0 MainMenuBar help

Hey guys, having a bit of trouble.

I'm using my own addon of sorts to manipulate the placement of various things on the screen, and now at 8.0 launch I'm having trouble adjusting the positioning of the MainMenuBar.

This is the script I've previously used to change the positioning of the main menu bar:

Code:
MainMenuBar:ClearAllPoints();MainMenuBar:SetPoint('CENTER',UIParent,'CENTER',253.5,-590);MainMenuBar:EnableMouse(0);MainMenuBar:SetScale(0.7)
now, if I use it ingame via /script, it'll adjust the positioning, scale, etc, but it'll revert itself to default blizzard if you change a zone or so much breathe at your screen.

I tried working around with this:

Code:
local x:MainMenuBar
x:MainMenuBar:ClearAllPoints()
x:MainMenuBar:SetPoint('CENTER',UIParent,'CENTER',253.5,-590)
x:MainMenuBar:EnableMouse(0)
x:MainMenuBar:SetScale(0.7)

but it doesn't work (in fact it breaks my addon completely).

What can I do to fix this? Cheers!
  Reply With Quote