-
Posted by nupchurch on Mon, 24 Nov 2008 13:39:25
I have been trying to use
/script getglobal("ActionButton2"):SetPoint("TOPLEFT");
Just to get a handle on moving the action buttons around... seems it does not work on actionbutton2, but it does work on action button1. if someone could please show me how to move around action button 2 that would be a great help!
-
Posted by nupchurch on Mon, 24 Nov 2008 13:39:26
I have been trying to use
/script getglobal("ActionButton2"):SetPoint("TOPLEFT");
Just to get a handle on moving the action buttons around... seems it does not work on actionbutton2, but it does work on action button1. if someone could please show me how to move around action button 2 that would be a great help!
-
Posted by jnwhiteh on Mon, 24 Nov 2008 17:05:55
You would need to clear any existing anchors using ClearAllPoints(), i.e.
ActionButton2:ClearAllPoints()
ActionButton2:SetPoint("TOPLEFT")Although you should specify what element you would like to anchor to, with offsets. For example:
ActionButton2:SetPoint("TOPLEFT", UIParent, "CENTER", 0, 0)
This anchors the button to the center of the UIParent.