0 Replies Latest reply on Nov 12, 2009 8:15 AM by Carol L. Frampton

    [svn:fx-trunk] 11697: Get scroll bars back.

    Carol L. Frampton Level 2

      Revision: 11697

      Author:   cframpto@adobe.com

      Date:     2009-11-12 08:15:17 -0800 (Thu, 12 Nov 2009)

       

      Log Message:

      ***********

      Get scroll bars back.  Yesterday's rev 11652 which added an invalidateSize() call to the damageHandler interacts badly with a hack in measure() for the scroller to help it deal with resizes that sets _contentWidth and _contentHeight to 0.  It is possible that there will be a remeasure, but nothing needs to be composed so _contentWidth and _contentHeight are not updated and the scroller thinks scroll bars are needed.

       

      Remove the code which set _contentWidth and _contentHeight to 0 added for SDK-22469. Much has changed in both RET and the scoller since this code was done.  I retested SDK-22469 and it looks good with the code removed and we have scroll bars back when they are needed.

       

      QE notes: could retest SDK-22469 if you desire, need a mustella test for the absence of scroll bars when they should be there

      Doc notes:

      Bugs:

      Reviewer: will be Gordon

      Tests run: checkintests, TextArea

      Is noteworthy for integration: no

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-22469

          http://bugs.adobe.com/jira/browse/SDK-22469

          http://bugs.adobe.com/jira/browse/SDK-22469

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as