I haven't looked at my addons in a while and am now in the process of updating them when I noticed some issues with my panels/frames borders
This is my main panel and it has a perfect 1px border on top but seems to have a 2px border or so on the left and right side. (Outter panel, not the buttons)
I ran this UI scale script
Code:
/script SetCVar("uiScale", 768/string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)"))
But that didn't change anything about the issue sadly.
My frame code looks something like this:
Lua Code:
local gempUI_mainpanel = CreateFrame("Frame",nil,UIParent)
gempUI_mainpanel:SetFrameStrata("BACKGROUND")
gempUI_mainpanel:SetWidth(476)
gempUI_mainpanel:SetHeight(85+extrabars_1)
gempUI_mainpanel:SetBackdrop({
bgFile = [[Interface\Buttons\WHITE8x8]],
edgeFile = [[Interface\Buttons\WHITE8x8]],
edgeSize = 1,
})
gempUI_mainpanel:SetBackdropColor(G.color.r,G.color.g,G.color.b,G.color.a)
gempUI_mainpanel:SetBackdropBorderColor(G.bordercolor.r, G.bordercolor.g, G.bordercolor.b, G.bordercolor.a)
gempUI_mainpanel:SetPoint("BOTTOM",0,-1)
gempUI_mainpanel:Show()
Did the Interface\Buttons\WHITE8x8 texture change or something, or am I doing something wrong? I want a simple 1px border on my frames all around.
I have a 1440p screen if thats relevant