Foundation and layout
Container
Native Qt
Border Image
Border Image is a native Zui container in the foundation and layout catalog, with 14 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.
border_image "assets/frame.png",
width: 420, height: 240,
border_left: 24, border_top: 24,
border_right: 24, border_bottom: 24 do
center { label "Nine-slice frame" }
end
API
Component properties
14 component-specific values, plus shared item and layout properties.
sourceSource configuration for Border Image.propertywidthWidth configuration for Border Image.propertyheightHeight configuration for Border Image.propertyborder_leftBorder left configuration for Border Image.propertyborder_topBorder top configuration for Border Image.propertyborder_rightBorder right configuration for Border Image.propertyborder_bottomBorder bottom configuration for Border Image.propertyhorizontal_tileHorizontal tile configuration for Border Image.propertyvertical_tileVertical tile configuration for Border Image.propertyasynchronousAsynchronous configuration for Border Image.propertycacheCache configuration for Border Image.propertymirrorMirror configuration for Border Image.propertysmoothSmooth configuration for Border Image.propertyvisibleVisible configuration for Border Image.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↗
loadedNative event payload↗
errorNative event payload↗
statusNative event payload