Rust egui Tutorial #2 — Text Widgets: Labels, Headings & More
92views
2likes
012:11
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Display text in your egui app! In this episode, we explore the core text widgets: headings for bold titles, labels for
read-only text, separators for visual dividers, and monospace for code-style output. We also use the format!() macro to build
dynamic text with variables.
Student code: https://github.com/GoCelesteAI/egui_labels_and_headings
What You'll Learn:
- ui.heading() for large bold section titles
- ui.label() for normal read-only text
- ui.separator() for horizontal dividing lines
- ui.monospace() for fixed-width code-style text
- format!() macro for dynamic text with variables
Neovim Skills:
- j/k — Navigate files in Neo-tree
- Enter — Open file from Neo-tree
Prerequisites:
- Rust installed (rustup.rs)
- Basic Rust knowledge (variables, functions, structs)
- Neovim installed
- Completed Episode 1 (Your First Window)
Timestamps:
0:00 Intro
0:12 Preview
0:44 Writing the code
9:50 App Demo
10:10 Recap
10:50 Outro
Taught by CelesteAI
#rust #egui #gui #neovim #tutorial #beginner #eframe
---
Tags
rust, egui, gui, desktop app, neovim, neo-tree, tutorial, beginner, eframe, rust gui, label, heading, separator, monospace,
rust tutorial, egui tutorial
Tags
rusteguiguidesktop appneovimneo-treetutorialbeginnereframerust guilabelheadingseparatormonospacerust tutorial