WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Customizing Layouts (https://www.wowinterface.com/forums/forumdisplay.php?f=95)
-   -   Question for Xrystal. (https://www.wowinterface.com/forums/showthread.php?t=26794)

cokedrivers 08-24-09 02:41 PM

Question for Xrystal.
 
Ive noticed in alot of your posts with pics of your nUI layout you have your FPS and MS next the Toggle Button for the HUD, I was wonder how you did that, and if you know how to make the Charactor < Game Menu and Spellbook buttons just a little bigger.


Thanks in advance for any help.

Coke

Xrystal 08-24-09 03:55 PM

Rofl, I edited the layout files to do that .. lets go grab it :D

Folder : nUI\Layouts\Default
File : nUI_Layout_Default_Console.lua

The xOfs and yOfs are what I changed here and the btn_size is what you would need to change to make the micro menu buttons bigger.

Code:

nUI_DefaultConfig.AddOns["nUI_SysInfo"] =
{
        enabled = true;       
       
        Latency =
        {
                anchor =
                {
                        anchor_pt  = "RIGHT",
                        relative_to = "nUI_MicroMenu",
                        relative_pt = "LEFT",
                        xOfs        = 60, -- -5,
                        yOfs        = 60, --10,
                },
               
                options =
                {
                        enabled  = true,
                        strata  = nil,
                        level    = 4,
                        width    = 75,
                        height  = 14,
                       
                        label =
                        {
                                enabled    = true,
                                fontsize    = 12.5,
                                justifyH    = "CENTER",
                                justifhV    = "MIDDLE",
                                anchor_pt  = "TOPRIGHT",
                                relative_pt = "BOTTOMRIGHT",
                                xOfs        = 0,
                                yOfs        = -2,
                                color      = { r = 1, g = 0.83, b = 0, a = 1 },
                        },                               
                },
        },
       
        FrameRate =
        {
                anchor =
                {
                        anchor_pt  = "LEFT",
                        relative_to = "nUI_MicroMenu",
                        relative_pt = "RIGHT",
                        xOfs        = -60, -- -9,
                        yOfs        = 60, --10,
                },
               
                options =
                {
                        enabled  = true,
                        strata  = nil,
                        level    = 4,
                        width    = 75,
                        height  = 14,
                       
                        label =
                        {
                                enabled    = true,
                                fontsize    = 12.5,
                                justifyH    = "CENTER",
                                justifhV    = "MIDDLE",
                                anchor_pt  = "TOPLEFT",
                                relative_pt = "BOTTOMLEFT",
                                xOfs        = 0,
                                yOfs        = -2,
                                color      = { r = 1, g = 0.83, b = 0, a = 1 },
                        },                               
                },
        },
};

Code:

nUI_DefaultConfig.MicroMenu =
{
        anchor =
        {
                anchor_pt  = "BOTTOM",
                relative_to = "nUI_TopBars",
                relative_pt = "BOTTOM",
                xOfs        = 15,
                yOfs        = 25,
        },
       
        options =
        {
                enabled  = "yes",
                strata  = "HIGH",
                level    = 3,
                scale    = 1,
                btn_size = 37,
                btn_gap  = -3,
               
                background =
                {
                        backdrop =
                        {
                                bgFile  = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBg",
                                edgeFile = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBorder",
                                tile    = true,
                                tileSize = 1,
                                edgeSize = 12,
                                insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },
                       
                        color =
                        {
                                border = { r = 1, g = 1, b = 1, a = 1 },
                                backdrop = { r = 0, g = 0, b = 0, a = 0.35 },
                        },
                },
        },
};


cokedrivers 08-24-09 04:35 PM

1 Attachment(s)
THANK YOU so much, i had such issues with those small buttons. I'm probably 50% Keyboard and 50% Clicker :D.

Below is what my nUI looks like now. THanks to everyone for the tips and triacks, and specially Scott for make the nUI.

Imakefood 08-25-09 08:07 PM

Oh wow....that's great. Thanks for asking and thanks for answering this question. I changed mine like this and I love it!


All times are GMT -6. The time now is 08:15 PM.

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