Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-18-15, 07:38 PM   #1
griffonmtl
A Defias Bandit
Join Date: Aug 2015
Posts: 2
Background texture does not tile. Can you help me?

Hello everyone,

I've started to learn how to do some AddOn (mostly for fun) and i have some problem with a background of a Frame. While I can put the image I want as background, it does not tile correctly. It tiles horizontally but not vertically (as you can see on the attached picture). I was wondering if someone can advise me on what is the problem with my code:

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Script>
		print("ALLOOOOOO")
	</Script>
	<Frame name="TestUI" hidden="false">
		<Anchors>
			<Anchor point="Center" />
		</Anchors>
		<Size>
			<AbsDimension x="200" y="200" />
		</Size>
		<Backdrop bgFile="Interface\AddOns\HelloWorld\bg001.tga" tile="true"
			edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
			<TileSize>
				<AbsValue val="32" />
			</TileSize>
			<EdgeSize>
				<AbsValue val="32" />
			</EdgeSize>
			<BackgroundInsets>
				<AbsInset left="11" right="12" top="12" bottom="11" />
			</BackgroundInsets>
		</Backdrop>
	</Frame>
 </Ui>
I did not provide the lua code, since there is nothing on it yet. Also, the file is power of 2 tga.

In advance... thanks
Attached Thumbnails
Click image for larger version

Name:	2015-08-18 21_28_43-World of Warcraft.jpg
Views:	411
Size:	15.8 KB
ID:	8621  
  Reply With Quote
 

WoWInterface » Developer Discussions » Graphics Help » Background texture does not tile. Can you help me?


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