Display, content, and media
Native Qt
Rich Text
Rich Text is a native Zui component in the display, content, and media 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.
rich_text "<b>Native</b> content with an <a href=\"https://ruby-lang.org\">external link</a>", width: 520
API
Component properties
9 component-specific values, plus shared item and layout properties.
textText configuration for Rich Text.propertycolorColor configuration for Rich Text.propertylink_colorLink color configuration for Rich Text.propertysizeSize configuration for Rich Text.propertyboldBold configuration for Rich Text.propertywidthWidth configuration for Rich Text.propertywrapWrap configuration for Rich Text.propertymaximum_linesMaximum lines configuration for Rich Text.propertyvisibleVisible configuration for Rich 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.
↗
linkNative event payload