Im creating this as MXML.
Tabs are not created in runtime.
Here's my MXML:
-------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow
xmlns:mx="http://www.adobe.com/2006/mxml"
title="Test" >
<mx:Script>
<![CDATA[
import mx.core.Application;
]]>
</mx:Script>
<mx:TabNavigator
width="100%"
height="100%"
bottom="10" right="10" left="10" top="35"
cornerRadius="0"
useHandCursor="false" >
<mx:Panel id="dsp1"
width="100%"
height="100%"
label="Tab A"
icon="{Application.application.png1}" />
<mx:Panel id="dsp2"
width="100%"
height="100%"
label="Tab B"
icon="{Application.application.png2}" />
<mx:Panel id="dsp3"
width="100%"
height="100%"
label="Tab C"
icon="{Application.application.png3}" />
<mx:Panel id="dsp4"
width="100%"
height="100%"
label="Tab D"
icon="{Application.application.png4}" />
</mx:TabNavigator>
</mx:TitleWindow>
-------------------------------------------------------------
Images are embedded like this:
-------------------------------------------------------------
[Embed(source="images/png16x16A.png")]
[Bindable] public var png1:Class;
-------------------------------------------------------------
--- In [email protected], "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
>
> Can you be more specific.
>
>
>
> Are you creating this in as/mxml?
>
>
>
> Are the tabs being added at runtime?
>
>
>
> Are the icons being assigned at runtime?
>
>
>
> Etc..
>
>
>
> Difficult to assist if we have no idea what might have led to this
display?
>
>
>
> Providing code helps.
>
>
>
> jason
>
>
>
> -----Message d'origine-----
> De : [email protected]
[mailto:[EMAIL PROTECTED] la
> part de Danko Kozar
> Envoyé : vendredi 16 mars 2007 12:39
> À : [email protected]
> Objet : [flexcoders] Re: Funny appearance of TabNavigator icons
>
>
> I forgot to mention that the TabNavigator appears inside the
> TitleWindow..
>
> --- In [email protected], "Danko Kozar" <danko.kozar@>
> wrote:
> >
> > I really need help with this one.
> >
> > My tab navigator has icons that render on wrong positions.
> > Please look at this image:
> >
> > http://www.dkozar.com/images/bugs/tab_icons_1.gif
> >
> > After I mouse-over over the tab(s), the icon position is
(magically)
> > fixed:
> >
> > http://www.dkozar.com/images/bugs/tab_icons_2.gif
> > http://www.dkozar.com/images/bugs/tab_icons_3.gif
> >
> > What's going on?
> >
>