Foundation and layout
Container
Native Qt
Wrap
Wrap is a native Zui container in the foundation and layout catalog, with 6 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.
wrap width: 420, spacing: 8, orientation: :horizontal do
%w[State Events Charts Media Effects].each { |name| chip name }
end
API
Component properties
6 component-specific values, plus shared item and layout properties.
widthWidth configuration for Wrap.propertyheightHeight configuration for Wrap.propertyspacingSpacing configuration for Wrap.propertyorientationOrientation configuration for Wrap.propertylayout_directionLayout direction configuration for Wrap.propertyvisibleVisible configuration for Wrap.propertyShow 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
clickNative event payload