Foundation and layout
Container
Native Qt
Flickable
Flickable is a native Zui container in the foundation and layout catalog, with 9 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.
flickable width: 420, height: 260,
content_width: 840, content_height: 520,
direction: :both, clip: true do
image "assets/map.png", width: 840, height: 520
end
API
Component properties
9 component-specific values, plus shared item and layout properties.
widthWidth configuration for Flickable.propertyheightHeight configuration for Flickable.propertycontent_widthContent width configuration for Flickable.propertycontent_heightContent height configuration for Flickable.propertydirectionDirection configuration for Flickable.propertybounds_behaviorBounds behavior configuration for Flickable.propertyinteractiveInteractive configuration for Flickable.propertyclipClip configuration for Flickable.propertyvisibleVisible configuration for Flickable.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↗
scrollNative event payload↗
flick_startNative event payload↗
flick_endNative event payload