Foundation and layout
Container
Native Qt
Scroll
Scroll is a native Zui container in the foundation and layout catalog, with 4 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.
scroll width: 420, height: 280, clip: true do
column spacing: 10 do
12.times { |index| label "Result #{index + 1}" }
end
end
API
Component properties
4 component-specific values, plus shared item and layout properties.
widthWidth configuration for Scroll.propertyheightHeight configuration for Scroll.propertyclipClip configuration for Scroll.propertyvisibleVisible configuration for Scroll.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