Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-15-12, 01:18 AM   #1
Gregity
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 54
How to color the border of a frame?

Just the border, not the entire frame.

Code:
panel:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", 
                   edgeFile = "Interface/BUTTONS/UI-SliderBar-Border.png",
                   edgeSize = 4, 
                   insets = { left = 1, right = 1, top = 1, bottom = 1 }
                   })
I'd like to turn the UI-SliderBar-Border golden, not grey.

How do I do this without making the background golden?

Do I need two frames, one with no bgfile that gets colored, and one that is only the edgefile?

-g
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How to color the border of a frame?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off