Background texture does not tile. Can you help me?
1 Attachment(s)
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/" In advance... thanks |
I'm sure someone is going to point out that you should code in pure Lua instead of using XML since it's easier to debug with. That put aside, I don't see any problem with your code minus a couple unnecessary bits. I'd chalk it up as one of the many quirks Blizzard has on their end.
|
Had the same problem with with my second addon that now is in development.
So I made my own 1024 by 1024 tga backgrounds. Big enough so the is no need for tiling. Downside is that they are almost 4mb each. :eek: And I second the advice for using using lua instead of xml. In my first addon I started with xml for my frames. Allthough it was a great learning process, at times it was pretty frustrating. Xml is very unforgiving to typos and hard to debug. Oh, and welcome to the club of lua/xml users. Enjoy the ride and have fun. :) |
LOL I've just saw that the <sript> part was just to check if the xml file was loaded correctly. I just want to use the xml for the frame and keep the lua for coding and assigning the event to the frames.
|
All times are GMT -6. The time now is 02:42 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI