View Single Post
  #33  
Unread 03-15-2010, 08:50 PM
Maozem's Avatar
Maozem Maozem is offline
A Grizzled Badger
 
Join Date: May 2009
Server: Everfrost
Posts: 46
Default Having Same issue as Mistal

Hiya guys;

After messing with this for few days I just can't seem to wrap my senile old mind around the syntax or something.
I was wondering if I could get a small example mocked up?

What I am trying to do is set the background. I think I have the buttons figured out now, but can't seem to get the background to accept any image other than the defaults or none at all.

Code:
<?xml version="1.0" encoding="utf-8"?>

<Page allowcloseontop="true" eq2usescomwndcontrols="true" Location="11,11" MinimumSize="300,55" MaximumSize="300,55" Name="New_Mao" PackLocation="center,top" ScrollExtent="300,55" Size="300,55" UserMovable="true" UserResizable="true">
	<Image LocalTooltip="Test" Name="Test" Size="300,55" SourceRect="0,0,300,55" SourceResource="images/Button1_0.dds" Tooltip="Test"/>
</Page>
That is what I have done so far. I tried to strip it down to absolute minimum so I could see what was going on. Unfortunately I know way too little about XML to read all the examples with extra code in them. Hopefully seeing this done correctly will clue me in to the formatting style I need to use. Eventually I intend to put buttons and such in here, but for now just want to understand the basics.
(btw Button1_0.dds is just a image to test with )

Any help would be greatly appreciated.

(lol, don't tell Mistal I had to ask for help she will never let me live it down. J/K)
Reply With Quote