1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50:03 -04:00
Files
egui/examples/styling_engine
Lucas Meurer 5cb3a4f89e Add AtomLayoutStyle (#8465)
Extracts a shared struct with things that once might want to override
for any atomlayout-based widget.

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-02 11:27:17 +02:00
..
2026-09-02 11:27:17 +02:00

Example showing how the style engine work.

A custom StyleProvider<ButtonStyle> styles every button, using classes to tell them apart. The theme can be edited live in the left panel.

cargo run -p styling_engine