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

Font Loader

Font Loader is a native Zui component in the display, content, and media catalog, with 2 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
font_loader "assets/fonts/Display.woff2"
API

Component properties

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

sourceSource configuration for Font Loader.property
visibleVisible configuration for Font Loader.property
Show 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.

loadedNative event payload
errorNative event payload
statusNative event payload