An idea on how you can achieve that....

package components
{
    import mx.controls.DateChooser;
    import mx.core.mx_internal;

    use namespace mx_internal;

    public class CustomDateChooser extends DateChooser
    {
        private static const PADDING:int = 3;

        public function CustomDateChooser()
        {
            super();
        }

        override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {
            super.updateDisplayList(unscaledWidth, unscaledHeight);

            var yearDisplayTextXPos:Number =
mx_internal::yearDisplay.x;
            var fwdButtonWidth:Number =
mx_internal::fwdMonthButton.width;

            mx_internal::fwdMonthButton.x = yearDisplayTextXPos;
            mx_internal::yearDisplay.x = yearDisplayTextXPos +
fwdButtonWidth + PADDING;
        }
    }
}

Build on this concept, you should be able to do it easily :-)

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to