Display, content, and media
Native Qt
Selectable Text
Selectable Text is a native Zui component in the display, content, and media catalog, with 10 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.
selectable_text "Copy this generated token: zui_42a9", width: 460
API
Component properties
10 component-specific values, plus shared item and layout properties.
textText configuration for Selectable Text.propertycolorColor configuration for Selectable Text.propertyselection_colorSelection color configuration for Selectable Text.propertyselected_text_colorSelected text color configuration for Selectable Text.propertysizeSize configuration for Selectable Text.propertyboldBold configuration for Selectable Text.propertywidthWidth configuration for Selectable Text.propertywrapWrap configuration for Selectable Text.propertyformatFormat configuration for Selectable Text.propertyvisibleVisible configuration for Selectable Text.propertyShow 15 shared item properties
enabledopacityscalerotationzheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
selectionNative event payload↗
linkNative event payload