[flexcoders] Padding in status message

2009-01-16 Thread faserone
Hi,
is there a way to apply a padding-right to the status message in a
Panel container?
I have a custom Panel with an icon at the right corner and I want a
padding to the status message.
I tried using:

mx:Panel status=Test test test statusStyleName=statusResult

.statusResult {
   padding-right:50;
}

but the the status text is always aligned to the right edge
overlapping my icon.

In case it doesn't work how can I emulate nbsp; in Flex?
Thanks.



[flexcoders] Padding in status message

2009-01-15 Thread Fabio Serra
Hi,
is there a way to apply a padding-right to the status message in a
Panel container?
I have a custom Panel with an icon at the right corner and I want a
padding to the status message.
I tried using:

mx:Panel status=Test test test statusStyleName=statusResult

.statusResult {
padding-right:50;
}

but the the status text is always aligned to the right edge overlapping my icon.

In case it doesn't work how can I emulate nbsp; in Flex?
Thanks.