r/WowUI•
sammojo

[HELP] How do I remove ElvUI border in PixelPerfect?

Help Request

Hi Guys,

I'm trying to remove the 1 pixel-wide black border in ElvUI's PixelPerfect mode so that there is no border showing on any of my frames (action bars, menus, unitframes etc.). I am able to change the colour though edits/addons, but can't find a way to change the alpha (transparency) to 0. I would really appreciate help with this!

Posted Aug 10, 2014, 12:48 AM UTC

35
Lorgalis76•

I'm not sure if this will work, but have you tried adding an alpha value to the border color?

So instead of this:

border = {r = 0, g = 0, b = 0}

Use the following

border = {r = 0, g = 0, b = 0, a = XX}

Where XX is your alpha value.

1
sammojoOP•

Thanks for the reply! Tried that, but it doesn't seem to work. It's possible I'm not adding it into the correct fields but I went through and found every reference to 'border' that I could find. There seems to be something preventing the use of alpha elsewhere. I can set the alpha to 0 in the slider for border colour, but it defaults back to 100.

1
Lorgalis76•

I don't have ElvUI installed anymore, but I did find this snippet of code from the \ElvUI\core\core.lua file:

--Border Color
    local border = E.db['general'].bordercolor
    if CheckClassColor(border.r, border.g, border.b) then
        border = RAID_CLASS_COLORS[E.myclass]
        E.db['general'].bordercolor.r = RAID_CLASS_COLORS[E.myclass].r
        E.db['general'].bordercolor.g = RAID_CLASS_COLORS[E.myclass].g
        E.db['general'].bordercolor.b = RAID_CLASS_COLORS[E.myclass].b
    elseif E.PixelMode then
        border = {r = 0, g = 0, b = 0}
    end

Maybe you have to call a in the same way that r g and b are being called.

1
mooseymcmango•

Did you ever figure it out? I'd love to know if you can do this.

1
sammojoOP•

Yes there's a sort-of-fix for it through Elv custom tweaks, problem is that your inventory items lose their colour outline as well, and some ui elements are spaced oddly because the border is missing between them. It works for the most part though.

2