3 Replies Latest reply on Apr 6, 2010 7:34 AM by A.Shiyaz

    vertical scrollbar to the left

    texttile

      Hi All,

       

      i am thinking a way to move the vertical scrollbar to the left. Do you know how to do this customization?

       

      I found i good sample here: http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/

      But it doesn't solve my problem completely. Because. according to the sample, we override  updateDisplayList

       

      protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
      {
      super.updateDisplayList( unscaledWidth, unscaledHeight );
      if( verticalScrollBar && verticalScrollBar.visible )
      {
      //verticalScrollBar.x = -verticalScrollBar.width;
      verticalScrollBar.x = 0;
      textField.x=verticalScrollBar.width;
      }
      }

       

      This will result a small white vertical box on the right of our container. It is the postion where the scrollbar previously lies on.

      So If you put a picture there, it will be cut off.

      Do you have a way to display the picture correctly?

       

      Thank you for your response,

       

      -Hoang Long