Yes, most all layout containers have default padding.
From: firstname.lastname@example.org on behalf of lanekelly5
Sent: Tue 2/24/2009 9:44 AM
Subject: [flexcoders] Re: Accordion question - height minus header space
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 container) I
still get some wasted space at the bottom. For the moment I'm just
adding in a fudge constant of 3 pixels to make it look right.
Could this discrepancy be the result of padding somewhere?
--- In email@example.com mailto:flexcoders%40yahoogroups.com ,
child's height or width can be specified percent wise
myComponent.percentWidth = 100;
but if you have to you have to
quote : headerHeight=depends on header font styles =