In theory, in the measure() method, you would set measuredWidth or
measuredHeight based on explicitHeight and/or explicitWidth

On 8/15/13 11:43 AM, "Arne Broedel" <[email protected]> wrote:

>Hi Flex-Community,
>I am skinning a Button with an icon. The Button should be sizable but keep
>its proportions.
>Its proportions width to height is 2 to 1. So every time the width is
>changed the height shall change to width/2 and every time the height is
>changed the width shall change to height*2.
>Anyone can tell me a proper solution.
>Thans

Reply via email to