#egui #layout #tile #dock #visualization

egui_tiles

A tiling layout engine for egui with drag-and-drop and resizing

15 releases (9 breaking)

0.10.1 Oct 1, 2024
0.9.1 Aug 27, 2024
0.9.0 Jul 3, 2024
0.8.0 Mar 26, 2024
0.2.0 Jul 6, 2023

#75 in GUI

Download history 3909/week @ 2024-07-18 3667/week @ 2024-07-25 4841/week @ 2024-08-01 5994/week @ 2024-08-08 5257/week @ 2024-08-15 5936/week @ 2024-08-22 4442/week @ 2024-08-29 4812/week @ 2024-09-05 3293/week @ 2024-09-12 3455/week @ 2024-09-19 5718/week @ 2024-09-26 9284/week @ 2024-10-03 9496/week @ 2024-10-10 8553/week @ 2024-10-17 9533/week @ 2024-10-24 10327/week @ 2024-10-31

39,506 downloads per month
Used in 30 crates (11 directly)

MIT/Apache

160KB
3K SLoC

egui_tiles

github Latest version Documentation unsafe forbidden Build Status MIT Apache

Layouting and docking for egui.

Supports:

  • Horizontal and vertical layouts
  • Grid layouts
  • Tabs
  • Drag-and-drop docking

egui_tiles

Trying it

cargo r --example simple

Comparison with egui_dock

egui_dock is an excellent crate serving similar needs. egui_tiles aims to become a more flexible and feature-rich alternative to egui_dock.

egui_dock only supports binary splits (left/right or top/bottom), while egui_tiles support full horizontal and vertical layouts, as well as grid layouts. egui_tiles also strives to be more customizable, enabling users to override the default style and behavior by implementing methods on a Behavior trait.

egui_dock supports some features that egui_tiles does not yet support, such as close-buttons on each tab, and built-in scroll areas.


egui_tiles development is sponsored by Rerun, a startup doing
visualizations for computer vision and robotics.

Dependencies

~5–11MB
~115K SLoC