DAZ Script |
---|
DzGridLayout ( DzWidget parent ) |
DzGridLayout ( DzLayout parent ) |
DAZ Script | |
---|---|
void | addLayout ( DzLayout item, Number row, Number col, Number rowSpan=1, Number colSpan=1 ) |
void | addWidget ( DzWidget item, Number row, Number col, Number rowSpan=1, Number colSpan=1 ) |
Number | colCount () |
Number | colSpacing ( Number col ) |
Number | colStretch ( Number col ) |
Number | rowCount () |
Number | rowSpacing ( Number row ) |
Number | rowStretch ( Number row ) |
void | setColSpacing ( Number col, Number minSize ) |
void | setColStretch ( Number col, Number stretch ) |
void | setRowSpacing ( Number row, Number minSize ) |
void | setRowStretch ( Number row, Number stretch ) |
Deprecated | |
void | addMultiCellWidget ( DzWidget item, Number fromRow, Number toRow, Number fromCol, Number toCol ) |
void | addMultiCellLayout ( DzLayout item, Number fromRow, Number toRow, Number fromCol, Number toCol ) |
A layout that manages child items in a grid of columns/rows.
DzGridLayout( DzWidget parent )
Creates a grid layout that manages child items.
Parameter(s):
DzGridLayout( DzLayout parent )
Creates a grid layout as a sub-layout to another layout.
Parameter(s):
void : addLayout( DzLayout item, Number row, Number col, Number rowSpan=1, Number colSpan=1 )
Adds a layout to the items managed by this layout.
Parameter(s):
void : addWidget( DzWidget item, Number row, Number col, Number rowSpan=1, Number colSpan=1 )
Adds a widget to the items managed by this layout.
Parameter(s):
Return Value:
Number : colSpacing( Number col )
Parameter(s):
Return Value:
Number : colStretch( Number col )
Parameter(s):
Return Value:
Return Value:
Number : rowSpacing( Number row )
Parameter(s):
Return Value:
Number : rowStretch( Number row )
Parameter(s):
Return Value:
void : setColSpacing( Number col, Number minSize )
Sets the minimum width for a column.
Parameter(s):
void : setColStretch( Number col, Number stretch )
Sets the relative amount of stretch for a column.
Parameter(s):
void : setRowSpacing( Number row, Number minSize )
Sets the minimum height for a row.
Parameter(s):
void : setRowStretch( Number row, Number stretch )
Sets the relative amount of stretch for a row.
Parameter(s):
void : addMultiCellWidget( DzWidget item, Number fromRow, Number toRow, Number fromCol, Number toCol )
Deprecated
Exists only to keep old code working. Do not use in new code. Use addWidget() instead.
void : addMultiCellLayout( DzLayout item, Number fromRow, Number toRow, Number fromCol, Number toCol )
Deprecated
Exists only to keep old code working. Do not use in new code. Use addLayout() instead.