Thread Tools Display Modes
07-03-14, 05:09 PM   #1
darksole
A Murloc Raider
Join Date: Aug 2013
Posts: 9
XML background picture

I am trying to to mess with Oqueue's background in the XML file, and change it to a custom picture. however when i change

Code:
<Backdrop bgFile="Interface\FrameGeneral\UI-Background-Marble"
                 edgeFile="Interface\DialogFrame\UI-DialogBox-Border" 
                 horizTile="true" vertTile="true">
         <EdgeSize>
           <AbsValue val="16"/>
         </EdgeSize>
         <BackgroundInsets>
           <AbsInset left="2" right="3" top="3" bottom="2"/>
         </BackgroundInsets>
       </Backdrop>
to
Code:
<Backdrop bgFile="Interface\addons\oqueue\art\anime.tga"
                 edgeFile="Interface\DialogFrame\UI-DialogBox-Border" 
                 horizTile="true" vertTile="true">
         <EdgeSize>
           <AbsValue val="16"/>
         </EdgeSize>
         <BackgroundInsets>
           <AbsInset left="2" right="3" top="3" bottom="2"/>
         </BackgroundInsets>
       </Backdrop>
the background changes to solid green in game not loading the desired background image. the image i am trying to use is a 1920x1080 .tga file i placed in the art folder, can anyone explain what i am doing wrong and how to change the background.

Last edited by darksole : 07-03-14 at 05:13 PM.
  Reply With Quote
07-03-14, 05:15 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
1920x1080 is invalid dimensions, they need to be powers of 2 (eg 2048x2048).
  Reply With Quote
07-03-14, 05:55 PM   #3
darksole
A Murloc Raider
Join Date: Aug 2013
Posts: 9
that fixed the issue thanks
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » XML background picture


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