[flexcoders] Re: Accordion question - height minus header space

2009-02-24 Thread lanekelly5
I think I have it close using: accordion.height - (accordion.numChildren * accordion_header_height) What I'm finding though is that the calculation comes in roughly 3 pixels too short. If I use the result of the above for my TileList hight (the element that I'm placing in the accordion

RE: [flexcoders] Re: Accordion question - height minus header space

2009-02-24 Thread Tracy Spratt
Yes, most all layout containers have default padding. Tracy From: flexcoders@yahoogroups.com on behalf of lanekelly5 Sent: Tue 2/24/2009 9:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Accordion question - height minus header space I think I

[flexcoders] Re: Accordion question - height minus header space

2009-02-23 Thread alinmircea_s
child's height or width can be specified percent wise width=100% myComponent.percentWidth = 100; but if you have to you have to http://livedocs.adobe.com/flex/3/langref/mx/containers/Accordion.html quote : headerHeight=depends on header font styles = Number(myAccordion.getStyle('headerHeight'))