Re: [flexcoders] AIR - Content resize according window

2012-01-19 Thread Isabelle Loyer Perso













Re: [flexcoders] AIR - Content resize according window

2012-01-19 Thread Isabelle Loyer Perso













Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Alex Harui
Set minWidth and minHeight to a small number


On 1/17/12 6:28 AM, "Isabelle Loyer Perso"  wrote:






   As I made a mistake in last message, I resend it.

 Hi,

 I have a window witch is resizing on creationcomplete phase according user 
preference.
 This part woks well.
 But inside this window a s:Group (maincontainer2) exists and even if width and 
height is in percent, the s:Group size is bigger that the new window measure.

 I try to solve that with percentheigt and percentwidth but no result.
 If somebody know how to solve that, I'll happy to read.

 Thanks a lot

 
 
 http://ns.adobe.com/mxml/2009"; 

   xmlns:s="library://ns.adobe.com/flex/spark"
   xmlns:mx="library://ns.adobe.com/flex/mx"
   
skinClass="fr.interis.ui.windowSkin.CustomWindowSkin"
   resizable="true"
   
creationComplete="wcustomwindow1_creationCompleteHandler(event)"
   preinitialize="wContactPat_loadServices(event)"
   xmlns:windowSkin="fr.interis.ui.windowSkin.*"
   minWidth="400" minHeight="300"

   
xmlns:customNavTab="fr.interis.component.customNavTab.*"
   
xmlns:componentGlob="fr.interis.ui.componentGlob.*">
 
 
 
 


 
 
 

 

 

 

 
  
 
 

  
 
 

 

  

 
 
 

 



 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 



 


 



 



 Le 17/01/12 13:31, Tandon, Rishi a écrit :



Could you send over your code?








From: isa_loyer  
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, January 17, 2012 5:22 PM
 Subject: [flexcoders] AIR - Content resize according window






Hi,

 I have a window witch is resizing on creationcomplete phase according user 
preference.
 This part woks well.
 But inside this window a s:Group exists and even if width and height is in 
percent, the s:Group size is bigger that the new window measure.

 I try to solve that with percentheigt and percentwidth but no result.
 If somebody know how to solve that, I'll happy to read.

 Thanks a lot





















--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Isabelle Loyer Perso













Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Isabelle Loyer Perso













Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Robert VanCuren Jr
Check minWidth and minHeight

On Tue, Jan 17, 2012 at 7:31 AM, Tandon, Rishi wrote:

> **
>
>
> Could you send over your code?
>
>   --
> *From:* isa_loyer 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Tuesday, January 17, 2012 5:22 PM
> *Subject:* [flexcoders] AIR - Content resize according window
>
>
> Hi,
>
> I have a window witch is resizing on creationcomplete phase according user
> preference.
> This part woks well.
> But inside this window a s:Group exists and even if width and height is in
> percent, the s:Group size is bigger that the new window measure.
>
> I try to solve that with percentheigt and percentwidth but no result.
> If somebody know how to solve that, I'll happy to read.
>
> Thanks a lot
>
>
>
>   
>


Re: [flexcoders] AIR - Content resize according window

2012-01-17 Thread Tandon, Rishi
Could you send over your code?



 From: isa_loyer 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, January 17, 2012 5:22 PM
Subject: [flexcoders] AIR - Content resize according window
 

  
Hi,

I have a window witch is resizing on creationcomplete phase according user 
preference.
This part woks well.
But inside this window a s:Group exists and even if width and height is in 
percent, the s:Group size is bigger that the new window measure.

I try to solve that with percentheigt and percentwidth but no result.
If somebody know how to solve that, I'll happy to read.

Thanks a lot