Frame backdrop is adding a fade color

Frame backdrop is adding a fade color

by llakaehehehadasd » Mon Mar 14, 2016 10:07 pm

I'm a bit stuck on my frame border. It adds 3 lines at the border and it should be 2 and i can't seem to fix it.
Here is a image for better understanding.
Image
Border image
Image
My backdrop looks like this
Code: Select all
PANEL_3 = {
bgFile = TEXTURE_DIR .. "bg1", tile = true, tileSize = 64,
edgeFile = TEXTURE_DIR .."border2", edgeSize = 16,
insets = {left = 2, right = 2, top = 2, bottom = 2},
}

And my CreateFrame looks like this
Code: Select all
local frame = CreateFrame("Frame", Name);
frame:SetFrameStrata("TOOLTIP"); <-- Idk that this mean but it works
frame:SetFrameLevel(2);
frame:SetWidth(300);
frame:SetHeight(125);
frame:SetScale(1);
frame:SetBackdrop(PANEL_3);
frame:SetMovable(false);
frame:EnableMouse(true);
frame:SetClampedToScreen(true);
frame:SetPoint("BOTTOMRIGHT", Parent, -4, 4);
llakaehehehadasd
Tester
 

Return to Addons & macros