Date: 2009-07-08 08:38:32 -0700 (Wed, 08 Jul 2009)
- Fix flicker problem with constraint bound text that is being autoSized. If the remeasure is done in a 2nd pass you will see a flicker as all the objects are moved to accommodate the reflowed text.
- Fix data binding issue with text setter.
- Rework measure() to accommodate implicit autoSize.
If explicitWidth or widthInChars specified and explicitHeight or heightInLines specified, or for now, blockProgression != "tb", the text has fixed dimensions and is not auto-sized.
If no text and width specified, but no height, start at specified width and one line high and grow taller.
If no text and height specified, start at 1 char wide with the specified height and grow wider.
If neither width nor height specified, and toFit lineBreaks, start at explicitMaxWidth, or default maxWidth of 160, and grow taller.
If neither width nor height specified, and explicit lineBreaks width is unlimited and can grow taller.
These are further constrained by min/max Width and Height except in the case that explicitWidth or explicitHeight are specified.
- Change default maxWidth for RichText and SimpleText to 160 to match RET. Previously it was 10000. This is used for
text with toFit lineBreaks if a width isn't specified.
QA Notes: 12 or so TextGraphic tests fail because of the new default maxWidth.
Doc Notes:SDK-22014, SDK-21837