This section provides an overview of some of the Matrix properties. For more information about Matrix properties, see General Interface GUI Property Reference or hover over property names in the Properties Editor palette.
Row Heights
The first constraint on row height is the paging model. If Matrix.PAGING_PAGED is used, then row height will be fixed, regardless of whether or not the user wants to use a flexible height. In all other cases, if the user does not specify a row height (null), then the default height, Matrix.DEFAULT_ROW_HEIGHT, is used. If the specified row height is zero, a flexible height is used. For a fixed row height, specify a positive integer in implied pixels, such as 14. All paging models support fixed and flexible heights except for Matrix.PAGING_PAGED, which only allows for fixed heights.
Text Wrapping
Text wrapping is managed by the column children and can be specified differently for the label in the column header and the data cells. If no value is specified, text wrapping is turned off. When implementing paging, it's recommended to disable text wrapping or make the row height large enough so that the wrapped text is not hidden.
Borders and Padding
With the introduction of the new cross-browser box model, padding and border settings are managed by the class. Borders and padding that wrap the header row and the entirety of the data rows are managed by the Matrix, while borders and padding that wrap the header cells and the individual data cells are managed by the Matrix Column children.
Column Widths
The Matrix automatically provides a horizontal scrollbar when the aggregate width of its columns is greater than the overall Matrix width. However, a scale width flag can be set, causing the rendering engine to reduce column widths until all content fits exactly within the view constraints. When rendering with a scaled width, it is often useful to include a wild card width, such as an asterisk (*) , on columns whose width should be flexible. Percentage and implied pixel values are also supported. For example, 50% or 25.