Skip to main content
Adobe Employee
May 20, 2010
Question

[svn:fx-trunk] 16267: Added better baseline support for ConstraintLayout.

  • May 20, 2010
  • 0 replies
  • 568 views

Revision: 16267

Revision: 16267

Author: klin@adobe.com

Date: 2010-05-20 15:24:53 -0700 (Thu, 20 May 2010)

Log Message:

***********

Added better baseline support for ConstraintLayout. ConstraintRow's now have a baseline property. It can either be a number or of the form "maxAscent:x". In the first case, it will position elements at that y-pixel value in the row based on their baseline position. Otherwise, it first aligns elements to the maximum baseline position of the elements in the row, and then, positions elements based on the pixel value provided. This support allows elements with different baselinePositions to be aligned more easily.

QE notes: No

Doc notes: No

Bugs: No

Reviewer: Jason

Tests run: checkintests

Is noteworthy for integration: No

Modified Paths:

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

flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/ConstraintRow.as

flex/sdk/trunk/frameworks/projects/spark/bundles/en_US/layout.properties

flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as

This topic has been closed for replies.