Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 days 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 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T15:16:46.000Z (about 1 month ago)
- Last Synced: 2024-12-13T07:03:13.083Z (9 days ago)
- Topics: egui, gui
- Language: Rust
- Homepage:
- Size: 336 KB
- Stars: 318
- Watchers: 8
- Forks: 25
- Open Issues: 16
-
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)
[![Latest version](https://img.shields.io/crates/v/egui_tiles.svg)](https://crates.io/crates/egui_tiles)
[![Documentation](https://docs.rs/egui_tiles/badge.svg)](https://docs.rs/egui_tiles)
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
[![Build Status](https://github.com/rerun-io/egui_tiles/workflows/CI/badge.svg)](https://github.com/rerun-io/egui_tiles/actions?workflow=CI)
[![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/rerun-io/egui_tiles/blob/master/LICENSE-MIT)
[![Apache](https://img.shields.io/badge/license-Apache-blue.svg)](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![egui_tiles](https://github.com/rerun-io/egui_tiles/assets/1148717/f86bee40-2506-4484-8a82-37ffdc805b81)
### 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.