zui docs v0.0.5
GitHub ↗
Foundation and layout Container Native Qt

Row Layout

Row Layout is a native Zui container in the foundation and layout catalog, with 3 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
row_layout spacing: 12, alignment: :center do
  button "Back", icon: :arrow_left
  spacer fill_width: true
  button "Continue", icon: :arrow_right
end
API

Component properties

3 component-specific values, plus shared item and layout properties.

spacingSpacing configuration for Row Layout.property
alignmentAlignment configuration for Row Layout.property
visibleVisible configuration for Row Layout.property
Show 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

clickNative event payload