Hmmm... well that is how I always do it. To be clear, what that should
set is the amount of space inside the HBox (at the bootm) that will be
left empty (below any children that are added in there).
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
[EMAIL PROTECTED] wrote:
Yes I've tried that. It doesn't work.
gridItem = new HBox( );
gridItem.setStyle("paddingBottom", 20);
Scott Melby wrote:
>
> Have you tried the paddingBottom style
>
<http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom
<http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom>>?
> You would set this programmatically using the setStyle() method.
>
> hth
> Scott
>
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com <http://www.fastlanesw.com>
>
>
> [EMAIL PROTECTED] <mailto:info1%40reenie.org> wrote:
>>
>> I am creating HBoxes with actionscript, based on XML content.
>> I want to give them bottom margins.
>>
>> How do I do that?
>>
>