Flow

API ReferenceRendererFlow

Flow {
    width: 90
    spacing.column: 15
    spacing.row: 5
    Rectangle { color: 'blue'; width: 60; height: 50; }
    Rectangle { color: 'green'; width: 20; height: 70; }
    Rectangle { color: 'red'; width: 50; height: 30; }
    Rectangle { color: 'yellow'; width: 20; height: 20; }
}

Source


Flow.New()

Static method of
Flow
Parameters
  • component — Componentoptional
  • options — Objectoptional
Returns
Flow

Source


constructor()

Extends
Item
Returns
Flow

Source


padding

Type
Item.Margin

onPaddingChange()

Parameters
  • padding — Item.Margin
Type
Signal

Source


spacing

Type
Item.Spacing

onSpacingChange()

Parameters
  • oldValue — Item.Spacing
Type
Signal

Source


alignment

Type
Item.Alignment

onAlignmentChange()

Parameters
  • oldValue — Item.Alignment
Type
Signal

Source


includeBorderMargins

Type
Boolean
Default
false

onIncludeBorderMarginsChange()

Parameters
  • oldValue — Boolean
Type
Signal

Source


collapseMargins

Type
Boolean
Default
false

onCollapseMarginsChange()

Parameters
  • oldValue — Boolean
Type
Signal

Source

results matching ""

    No results matching ""