Skip to content

Text

Lightweight text display widget for static or dynamic strings and RichText.

Overview

Text is a lightweight display component extending TextWidget. Unlike Label, it does not handle focus delegation, making it ideal for headers, read-only stats, and notifications.

Simple Text Widget

Text title = new Text("Welcome to UniGUI!")
        .color(Color.YELLOW);