Use your image as a borderSkin for a canvas container. Do not give the container any height properties (height or percentHeight) and the container should grow the contents measured height.
On 9/25/07, grimmwerks <[EMAIL PROTECTED]> wrote: > > Yeah, found that after I posted (as always) > > I'm trying to understand the scale9 thing: if my component is an image > (with header, footer and middle) and I've a text area in the middle -- I > want to keep the header and footer as no scale, but would scale the middle > area -- however the TextArea in it should NOT scale, but meet the bottom of > the header and top of the footer - does that make sense? > > Would I have to programmitically drop the TextArea in or is there > something I can set for the TextArea to meet the component's scale9's? > > > On Sep 25, 2007, at 12:23 PM, Alex Harui wrote: > > if your comps are based on containers then scrollpolicy should work. > Otherwise, it may be that the app size is too big > > ------------------------------ > *From:* [email protected] > [mailto:[email protected]<[email protected]>] > *On Behalf Of *grimmwerks > *Sent:* Tuesday, September 25, 2007 9:08 AM > *To:* [email protected] > *Subject:* [flexcoders] help! components getting scrollbars in website? > > I've created my own components in a larger app that is going to the web. > > For some users with a lower resolution monitor, these components are > popping in with their own scrollbars. > > My question is twofold: > > 1) how can I make sure that the components never show a scroll > (assuming it's something like horizontalScrollPolicy, etc) > 2) how can I make these components scale down to fit the larger 'stage'? > > It's strange, since the components aren't being used in the starting > state, when they're 'popped in' - - then the browser's scroll is > initiated; quite different from Flash. > > Thanks > > > > -- Arpit Mathur Lead Software Engineer, Comcast Interactive Media --------------------------------------- post your flex tips on http://flextips.corank.com

