type property

PanelLayout get type

Gets or sets the type of the Panel, which controls how the Panel's elements are measured and arranged. The value must be an instance of PanelLayout. The only predefined values are listed as constant properties of Panel, including:

  • Panel.Position
  • Panel.Vertical
  • Panel.Horizontal
  • Panel.Auto
  • Panel.Spot
  • Panel.Table
  • Panel.Viewbox
  • Panel.Link (see also Links, which are all Panels of type Link)
  • Panel.TableRow
  • Panel.TableColumn
  • Panel.Grid
  • Panel.Graduated

The default value is Panel.Position.

You must not modify this property once the Panel has been measured or the Panel has been added to another Panel.

Implementation

_i3.PanelLayout get type => _i4.getProperty(
      this,
      'type',
    );
set type (PanelLayout value)

Implementation

set type(_i3.PanelLayout value) {
  _i4.setProperty(
    this,
    'type',
    value,
  );
}