Thread Tools Display Modes
04-18-11, 03:51 PM   #1
ReighnDae
A Murloc Raider
 
ReighnDae's Avatar
Join Date: Oct 2008
Posts: 8
Pet/Stance/Shapeshift Bar

I have been using nUI for several months now and have found it to be an excellent UIMod. I am having difficulty however in making changes to the action bars; specificly the [u]Pet/Stance/Shapeshift Bar[u]. I would like to be able to hide or remove it from my UI but can't seem to figure out how. Can anyone help with this?
 
04-18-11, 04:56 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
You could try adjusting the following segment's enabled statement to false and see if that works for you.

Folder: \Interface\AddOns\nUI\Layouts\Default
File : nUI_Layout_Default_Dashboard.lua

Code:
-------------------------------------------------------------------------------
-- pet bar, stance bar, shapeshift bar, aura bar, possession bar

nUI_DefaultConfig.SpecialBars =
{
	enabled = true;
	
	anchor =
	{
		anchor_pt   = "BOTTOM",
		relative_to = "nUI_Dashboard",
		relative_pt = "CENTER",
		xOfs        = 0,
		yOfs        = 183,
	},
	options =
	{
		enabled   = true,
		strata    = nil,
		level     = 2,
		btn_size  = 36,
		block_gap = 10,
		btn_gap   = 1,
		inset     = 3,
--[[		
		border =
		{
			backdrop =
			{
				bgFile   = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBg.blp", 
				edgeFile = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBorder.blp", 
				tile     = true, 
				tileSize = 1, 
				edgeSize = 12, 
				insets   = {left = 0, right = 0, top = 0, bottom = 0},
			},
			border_color = { r = 1, g = 1, b = 1, a = 1 },
			backdrop_color = { r = 0, g = 0, b = 0, a = 0.35 },
		}
]]--		
	},
};
__________________
 
04-18-11, 07:10 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Hiding those bars could be an issue in some quests, dungeons and raids where you need access to the possession bar.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-19-11, 10:10 AM   #4
ReighnDae
A Murloc Raider
 
ReighnDae's Avatar
Join Date: Oct 2008
Posts: 8
Thanks Xrystal for the input. Your sugestion to change the code worked. It would be better though if all the action bars could be toggled on and off from in game. If that can already be done I haven't found the way to do it. Thanks again.
 
04-19-11, 02:51 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
No probs. If you do however hit problems as Scott thinks then simply reversing that change will bring it back.

As to toggling the bars, possibly in nUI 6 but I am sure Scott will be able to confirm that one way or another.
__________________
 
04-19-11, 04:36 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... intended for nUI6, won't happen in nUI5
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » Pet/Stance/Shapeshift Bar

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