EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-27-2008, 05:30 AM
Aseekia's Avatar
Aseekia Aseekia is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Server: Innothule
Posts: 9
Default Graphic in Graphic it dosn't work need hlp

Hi all ..

I worked on a group window with programmable spell buttons .. all works great but one problem i have...
i make a button with graphical background and now i like to overlay another graphic to the first graphic.. because i don't like to modd 5 new pictures for this grp_member_window

Code:
<Image AbsorbsInput="false" Location="0,0" Name="buttonBkg1" ScrollExtent="22,21" Size="22,21" Stretch="false" Style="buttonBkg"/></Image>
		<Image AbsorbsInput="false" Location="4,3" Name="Image1" ScrollExtent="15,15" Size="15,15" SourceRect="130,40,170,80" SourceResource="/images/icons/icon_is6.dds" /></image>
with this code i'am only see the first graphic.. the icon graphic don't show..

anybody have an idea for this prob..

thx all

Mfg
Reply With Quote
  #2  
Unread 04-27-2008, 08:43 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Your Image1 image is behind your buttonBkg1 image. You need to reveres the zorder of your nodes.

Like so;

Code:
<Image AbsorbsInput="false" Location="4,3" Name="Image1" ScrollExtent="15,15" Size="15,15" SourceRect="130,40,170,80" SourceResource="/images/icons/icon_is6.dds" /></image>
<Image AbsorbsInput="false" Location="0,0" Name="buttonBkg1" ScrollExtent="22,21" Size="22,21" Stretch="false" Style="buttonBkg"/></Image>
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 04-28-2008, 04:09 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Yep. Priority to images etc. is given from top down, so in the code you pasted the background has higher priority (and thus is going on top of your other image).

In general, keep backgrounds and such towards the bottom and top-layer items towards the top.
Reply With Quote
  #4  
Unread 04-28-2008, 06:55 PM
Aseekia's Avatar
Aseekia Aseekia is offline
A Brown Bear
Interface Author - Click to view interfaces
 
Join Date: Apr 2006
Server: Innothule
Posts: 9
Default

Quote:
Originally Posted by lordebon View Post
Yep. Priority to images etc. is given from top down, so in the code you pasted the background has higher priority (and thus is going on top of your other image).

In general, keep backgrounds and such towards the bottom and top-layer items towards the top.
Thx ...
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 06:44 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI