WoWInterface (
-   nUI: Developer Chat (
-   -   Removing boarders from frames (

jemarti 07-03-09 06:28 PM

Removing borders from frames
1 Attachment(s)
I apologize if this is the wrong forum for this post.
I started creating a skin, and wanted to turn off the borders on most if not all frames. In my skin addon I added several lines in the onEvent function to turn off frame borders and backgrounds like this:

nUI_ActionBar:SetBackdrop ({nil});

I was able to turn off borders and backgrounds on everything except the unit frame windows. I was able to Identify a couple of hundred frames that appear to be related to unit frames with names such as:
nUI_SoloUnit_Player, nUI_SoloUnit_Player_Background, nUI_Raid20Unit_Raid1, nUI_Raid20Unit_Raid1_Background, etc., but setting SetBackdrop to nil has no affect.

Does anyone know what frames actually hold the visible boarders for the unit frames.

I've attached a screen shot of what I have so far.


spiel2001 07-03-09 08:04 PM

You could just edit the [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitSkin_{panel mode}_{unit id}.lua ] files and comment out the backgrounds.

jemarti 07-04-09 06:45 PM

Thanks for the fast response!
I was trying to avoid messing around in your code so that I could release this as a skin. It's not a big deal if I can't change some of the borders via an external addon.

Again, thanks!

All times are GMT -6. The time now is 07:09 PM.

vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI