#egui #layout #tile #dock

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

#82 in GUI

Download history 1676/week @ 2024-06-21 3214/week @ 2024-06-28 4546/week @ 2024-07-05 4490/week @ 2024-07-12 3943/week @ 2024-07-19 3476/week @ 2024-07-26 5329/week @ 2024-08-02 6004/week @ 2024-08-09 5136/week @ 2024-08-16 6439/week @ 2024-08-23 3797/week @ 2024-08-30 4668/week @ 2024-09-06 3161/week @ 2024-09-13 3765/week @ 2024-09-20 6688/week @ 2024-09-27 7520/week @ 2024-10-04

21,738 downloads per month
Used in 29 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–10MB
~114K SLoC