Column

APIRendererColumn

Column {
    spacing: 5
    Rectangle { color: 'blue'; width: 50; height: 50; }
    Rectangle { color: 'green'; width: 20; height: 50; }
    Rectangle { color: 'red'; width: 50; height: 20; }
}

Source

Column.New(options)

Parameters:
  • options — Objectoptional
Returns:
Column

Source

Column::constructor()

Extends:
Item
Returns:
Column

Source

Column::padding

Type:
Item.Margin

Column::onPaddingChange(padding)

Parameters:
  • padding — Item.Margin
Type:
Signal

Source

Column::spacing

Type:
Float
Default value:
0

Column::onSpacingChange(oldValue)

Parameters:
  • oldValue — Float
Type:
Signal

Source

Column::alignment

Type:
Item.Alignment

Column::onAlignmentChange(oldValue)

Parameters:
  • oldValue — Item.Alignment
Type:
Signal

Source

Column::includeBorderMargins

Type:
Boolean
Default value:
false

Column::onIncludeBorderMarginsChange(oldValue)

Parameters:
  • oldValue — Boolean
Type:
Signal

Source