WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Graphics Help (https://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Rounded corners on backdrops (https://www.wowinterface.com/forums/showthread.php?t=54670)

Sweetsour 10-18-16 05:43 PM

Rounded corners on backdrops
 
Hello all!

I've been trying to figure out how to make a frame with bevelled edges, but the backdrop background has corners sticking out. How would I go about getting rid of the corners?


Fizzlemizz 10-18-16 05:52 PM

Create the image with the background colour you want or create a second texture for the background and don't set a backdrop.

Sweetsour 10-18-16 05:56 PM

Just to clarify, are you talking about the part with the icon?

Seerah 10-18-16 06:54 PM

If you are using :SetBackdrop(), use insets to hide the corners.

Fizzlemizz 10-18-16 06:56 PM

I thought the border(s)/icon was a single image and you were using a backdrop for the background. What Seerah said.

Sweetsour 10-18-16 07:36 PM

That did it, thanks!

Layback_ 10-18-16 11:35 PM

Hi all,

some weird question passing by...

Last time, I tried pretty much all of what I could do to see what differences the insets actually make on :SetBackdrop() function and I honestly could've not figured it out.
(I definitely had bgFile and edgeFile set as well as the size...)

So, could anyone please show me an example of the frame with insets?

Thank you!

Lombra 10-19-16 06:12 AM

Code:

frame:SetBackdrop({
        bgFile = [[Interface\ChatFrame\ChatFrameBackground]],
        edgeFile = [[Interface\Tooltips\UI-Tooltip-Border]],
        edgeSize = 14,
        insets = {left = 4, right = 4, top = 4, bottom = 4},
})



All times are GMT -6. The time now is 10:54 AM.

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