Display, content, and media
Native Qt
Label
Label is a native Zui component in the display, content, and media catalog, with 12 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.
label "Native Ruby UI", size: 22, bold: true, elide: :right
API
Component properties
12 component-specific values, plus shared item and layout properties.
textText configuration for Label.propertycolorColor configuration for Label.propertysizeSize configuration for Label.propertyboldBold configuration for Label.propertywidthWidth configuration for Label.propertywrapWrap configuration for Label.propertyelideElide configuration for Label.propertyhorizontal_alignmentHorizontal alignment configuration for Label.propertyvertical_alignmentVertical alignment configuration for Label.propertymaximum_linesMaximum lines configuration for Label.propertyformatFormat configuration for Label.propertyvisibleVisible configuration for Label.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