Re: [flexcoders] Best way to set component height based on size of parent container?

2006-04-30 Thread Manish Jethani
On 4/21/06, flexabledev [EMAIL PROTECTED] wrote: I have two simple scenarios that I need help with. 1. I have a Canvas that scales with the Browser window. On that Canvas, I have a panel with a top and bottom layout constraint, but I need the width to be dynamically calculated based on the

[flexcoders] Best way to set component height based on size of parent container?

2006-04-20 Thread flexabledev
I have two simple scenarios that I need help with. 1. I have a Canvas that scales with the Browser window. On that Canvas, I have a panel with a top and bottom layout constraint, but I need the width to be dynamically calculated based on the width of the Canvas - X. 2. I have a VBox on the

Re: [flexcoders] Best way to set component height based on size of parent container?

2006-04-20 Thread Johannes Nel
just set the vScrollPolicy = off whilst setting the height to what you want.On 4/20/06, flexabledev [EMAIL PROTECTED] wrote:I have two simple scenarios that I need help with.1.I have a Canvas that scales with the Browser window.On that Canvas, I have a panel with a top and bottom layout

RE: [flexcoders] Best way to set component height based on size of parent container?

2006-04-20 Thread Tobias Patton
To have the width of the panel be calculated in relation to the parent container, you could do something like: -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexabledev Sent: Thursday, April 20, 2006 2:48 PM To: flexcoders@yahoogroups.com