Thread: rAddons
View Single Post
07-07-12, 10:07 AM   #23
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thanks. Actually I found a better solution for myself. I'm just doing
Lua Code:
  1. --fix for button1 placement with only one form
  2.   StanceBarFrame:ClearAllPoints()
  3.   StanceBarFrame:SetPoint("BOTTOMLEFT",frame,cfg.padding-12,cfg.padding-3)
  4.   StanceBarFrame.ignoreFramePositionManager = true

The StanceBarFrame will get moved via the position manager. But we can disable that behaviour. Now we only need to adjust the offset for button1. (Offset is found in FrameXML/stancebar.lua)
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 07-07-12 at 10:12 AM.