EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Graphic in Graphic it dosn't work need hlp (https://www.eq2interface.com/forums/showthread.php?t=10919)

Aseekia 04-27-2008 05:30 AM

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

Landiin 04-27-2008 08:43 AM

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>


lordebon 04-28-2008 04:09 PM

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.

Aseekia 04-28-2008 06:55 PM

Quote:

Originally Posted by lordebon (Post 72370)
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 ...


All times are GMT -5. The time now is 05:30 AM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI