#egui #tile #dock #layout

egui_tiles

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

5 releases (3 breaking)

0.4.0 Nov 23, 2023
0.3.1 Sep 29, 2023
0.3.0 Sep 28, 2023
0.2.0 Jul 6, 2023
0.1.0 May 24, 2023

#139 in GUI

Download history 287/week @ 2023-08-11 409/week @ 2023-08-18 418/week @ 2023-08-25 573/week @ 2023-09-01 430/week @ 2023-09-08 449/week @ 2023-09-15 544/week @ 2023-09-22 1575/week @ 2023-09-29 1226/week @ 2023-10-06 1370/week @ 2023-10-13 1265/week @ 2023-10-20 1353/week @ 2023-10-27 870/week @ 2023-11-03 983/week @ 2023-11-10 1086/week @ 2023-11-17 886/week @ 2023-11-24

4,074 downloads per month
Used in 7 crates (3 directly)

MIT/Apache

130KB
2.5K 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
~102K SLoC