Yep, that looks better ;)

On 6/15/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>
>
>    Hi,
>
>  I get shoots fired at me every day ;-)
>
>  Jeremy is right put it in the title bar. I know I posted this last week or 
> so but, here goes again.
>
>
>   I made my own widow but, if I remember correctly the 'titleBar' is a 
> UIComponent.
>
>   1) In creatChildre() override
>
>           if (!minimizeButton )
>           {
>               minimizeButton = new Button();
>               minimizeButton .styleName = this;
>               minimizeButton .addEventListener(MouseEvent.CLICK, 
> minimizeButton_clickHandler);
>               titleBar.addChild(minimizeButton );
>          }
>
>
>   2) In layoutChrome() override
>
>   - you must position the new button and shrink the textfield
>   Below are the current assets of the tileBar instance
>
>   - titleIconObject
>   - titleTextField
>   - closeButton
>
>   and now;
>
>   - minimizeButton


------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to