View Single Post
Old 09-30-12, 07:12 AM   #40
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,013
Well think I managed to finally get it working with version 5. Cheated somewhat and just reparented the real actionbar and button and just made sure they were shown on creation and then let blizz sort out visibility rofl .. cheating I know but seeing as its just temporary until you get 6 sorted it's better than nothing.

Lua Code:
  1. local anchor     = CreateFrame( "Frame", "nUI_ExtraActionBarEvents", WorldFrame );
  2. local frame      = CreateFrame( "Frame", "nUI_ExtraActionBar", nUI_Dashboard.Anchor, "SecureFrameTemplate" );
  3.  
  4. local f = ExtraActionBarFrame
  5. f:SetParent(frame)
  6. f:ClearAllPoints()
  7. f:SetPoint("CENTER",0,0)
  8. f.ignoreFramePositionManager = true
  9.  
  10. local b = ExtraActionButton1
  11. frame.button = b
  12.  
  13. local s = b.style
  14. s:SetTexture(nil)
  15.  
  16. f:Show()
  17. b:Show()
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_093012_140500.jpg
Views:	350
Size:	228.0 KB
ID:	7229  
__________________
Xrystal is offline