Hi,Mike

Please let me know this in detail.

I can extends Canvas and create a new class (like samrtcavas).

I confuse how to use the class in mxml and how to set left/right paddings

Thanks for your help

Mark



--- In [email protected], "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> A hack that can be done if you really want Canvas is;
> Create a subclass of Canvas and override the usePadding property.
> 
> override mx_internal get usePadding():Boolean
> {
>     return true;
> }
> 
> This will turn the padding back on when the
> layout calculates viewMetricsAndPadding.
> 
> Mike
> 
 

Reply via email to