#egui #tile #layout #dock

egui_tiles

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

11 releases (7 breaking)

new 0.8.0 Mar 26, 2024
0.7.2 Feb 7, 2024
0.6.0 Jan 8, 2024
0.5.0 Jan 4, 2024
0.1.0 May 24, 2023

#67 in GUI

Download history 1147/week @ 2023-12-06 1657/week @ 2023-12-13 773/week @ 2023-12-20 150/week @ 2023-12-27 1522/week @ 2024-01-03 1369/week @ 2024-01-10 1596/week @ 2024-01-17 1605/week @ 2024-01-24 1515/week @ 2024-01-31 1803/week @ 2024-02-07 2060/week @ 2024-02-14 1649/week @ 2024-02-21 1613/week @ 2024-02-28 1220/week @ 2024-03-06 2006/week @ 2024-03-13 2154/week @ 2024-03-20

7,310 downloads per month
Used in 21 crates (7 directly)

MIT/Apache

140KB
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–12MB
~109K SLoC