WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Customizing Layouts (https://www.wowinterface.com/forums/forumdisplay.php?f=95)
-   -   Pet/Stance/Shapeshift Bar (https://www.wowinterface.com/forums/showthread.php?t=39687)

ReighnDae 04-18-11 03:51 PM

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?

Xrystal 04-18-11 04:56 PM

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 },
                }
]]--               
        },
};


spiel2001 04-18-11 07:10 PM

Hiding those bars could be an issue in some quests, dungeons and raids where you need access to the possession bar.

ReighnDae 04-19-11 10:10 AM

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.

Xrystal 04-19-11 02:51 PM

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.

spiel2001 04-19-11 04:36 PM

Yeah... intended for nUI6, won't happen in nUI5


All times are GMT -6. The time now is 02:55 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI