Rich Text Example

widget_rich_text

Demonstrates styling individual words and characters.

Standard strings are monochromatic. “Rich Text” is composed of Lines containing multiple Spans, where each Span has its own style. This allows for multi-colored, multi-styled text blocks.

Features Demonstrated

Hotkeys

Usage

ruby examples/widget_rich_text/app.rb

Learning Outcomes

Use this example if you need to…

Read the source code →