zui docs v0.0.5
GitHub ↗
Display, content, and media Native Qt

Text

Text is a native Zui component in the display, content, and media catalog, with 8 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.

Ruby
text "Requests: 14.2k", size: 28, bold: true, color: "#f5f5f0"
API

Component properties

8 component-specific values, plus shared item and layout properties.

textText configuration for Text.property
styleStyle configuration for Text.property
sizeSize configuration for Text.property
boldBold configuration for Text.property
colorColor configuration for Text.property
wrapWrap configuration for Text.property
widthWidth configuration for Text.property
visibleVisible configuration for Text.property
Show 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.

This renderer is display-only and does not emit component-specific events.