Re: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-02 Thread Brandon Krakowsky
Thanks for the help on this everyone. I'll do some testing. Brandon - Original Message From: Gordon Smith <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, July 1, 2008 9:23:42 PM Subject: RE: [flexcoders] Sizing Components Inside Custom UIComponents

RE: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Gordon Smith
Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, July 01, 2008 4:40 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Sizing Components Inside Custom UIComponents Parents size their

Re: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Brandon Krakowsky
Thanks. Looks like I'm doing it correctly. I'm sure I'll be back! Brandon - Original Message From: Josh McDonald <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, July 1, 2008 8:02:16 PM Subject: Re: [flexcoders] Sizing Components Inside Custom

Re: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Josh McDonald
Which you need to do from updateDisplayList() :) Also, keep in mind that if you set width and height on a child component directly rather than calling setActualSize(), that child component will no longer measure() and you'll only be able to get the dimensions you assigned to it rather than the dim

RE: [flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread Alex Harui
] Sizing Components Inside Custom UIComponents I'm pretty new to Flex. I've created some custom components by extending UIComponent. I've implemented createChildren, commitProperties, measure, and updateDisplayList. I can resize the custom UIComponents using any number of methods: c

[flexcoders] Sizing Components Inside Custom UIComponents

2008-07-01 Thread krakowskyb
I'm pretty new to Flex. I've created some custom components by extending UIComponent. I've implemented createChildren, commitProperties, measure, and updateDisplayList. I can resize the custom UIComponents using any number of methods: constraints, CSS, etc. They resize no problem. But if I try