Display, content, and media
Native Qt
Optical Glyph
Optical Glyph is a native Zui component in the display, content, and media catalog, with 5 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.
optical_glyph "◆", size: 32, color: "#b7ff5a"
API
Component properties
5 component-specific values, plus shared item and layout properties.
textText configuration for Optical Glyph.propertysizeSize configuration for Optical Glyph.propertycolorColor configuration for Optical Glyph.propertydebug_boundsDebug bounds configuration for Optical Glyph.propertyvisibleVisible configuration for Optical Glyph.propertyShow 16 shared item properties
enabledopacityscalerotationzwidthheightfill_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.