#egui #tile #layout #dock

egui_tiles

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

11 releases (7 breaking)

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

#93 in GUI

Download history 1419/week @ 2024-01-26 1661/week @ 2024-02-02 1930/week @ 2024-02-09 1904/week @ 2024-02-16 1594/week @ 2024-02-23 1609/week @ 2024-03-01 1438/week @ 2024-03-08 2156/week @ 2024-03-15 2418/week @ 2024-03-22 1725/week @ 2024-03-29 2928/week @ 2024-04-05 4420/week @ 2024-04-12 4062/week @ 2024-04-19 3526/week @ 2024-04-26 3122/week @ 2024-05-03 3087/week @ 2024-05-10

14,368 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–11MB
~112K SLoC