https://github.com/rerun-io/egui_tiles
A tiling layout engine for egui with drag-and-drop and resizing
https://github.com/rerun-io/egui_tiles
egui gui
Last synced: 5 months ago
JSON representation
A tiling layout engine for egui with drag-and-drop and resizing
- Host: GitHub
- URL: https://github.com/rerun-io/egui_tiles
- Owner: rerun-io
- License: apache-2.0
- Created: 2023-05-08T13:40:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-05T09:36:58.000Z (8 months ago)
- Last Synced: 2025-04-13T03:59:38.931Z (6 months ago)
- Topics: egui, gui
- Language: Rust
- Homepage:
- Size: 266 KB
- Stars: 368
- Watchers: 8
- Forks: 30
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-egui - egui_tiles
README
# `egui_tiles`
[
](https://github.com/rerun-io/egui_tiles)
[](https://crates.io/crates/egui_tiles)
[](https://docs.rs/egui_tiles)
[](https://github.com/rust-secure-code/safety-dance/)
[](https://github.com/rerun-io/egui_tiles/actions?workflow=CI)
[](https://github.com/rerun-io/egui_tiles/blob/master/LICENSE-MIT)
[](https://github.com/rerun-io/egui_tiles/blob/master/LICENSE-APACHE)Layouting and docking for [egui](https://github.com/rerun-io/egui).
Supports:
* Horizontal and vertical layouts
* Grid layouts
* Tabs
* Drag-and-drop docking
### Trying it
`cargo r --example simple`### Comparison with [egui_dock](https://github.com/Adanos020/egui_dock)
[egui_dock](https://github.com/Adanos020/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](https://www.rerun.io/), a startup doing
visualizations for computer vision and robotics.