egui icon indicating copy to clipboard operation
egui copied to clipboard

Support for Docking

Open gbrls opened this issue 2 years ago • 8 comments

Imgui has a docking branch and it's great (link). I think it opens up many more applications for the library such as an editor for a small engine or a full desktop app. This is the only reason that I stil use imgui-rs for my project and I'd love to make the switch.

gbrls avatar Aug 27 '21 01:08 gbrls

I'd really get behind this!

Ragarnoy avatar Aug 31 '21 14:08 Ragarnoy

Bump

JSH32 avatar May 05 '22 17:05 JSH32

https://github.com/emilk/egui/discussions/424

relevant discussion

coderedart avatar May 06 '22 06:05 coderedart

This looks excellent -> https://github.com/lain-dono/egui_docking

cirrusone avatar May 31 '22 13:05 cirrusone

Wow, egui_docking look really neat @cirrusone !

egui_docking

emilk avatar Jul 22 '22 09:07 emilk

With the author's consent I forked egui_docking, added some documentation, and published it on crates.io. https://crates.io/crates/egui_dock

I encountered a few bugs which I'm going to work on when I find time. I'll also appreciate all contributions.

Adanos020 avatar Aug 06 '22 10:08 Adanos020

With the author's consent I forked egui_docking, added some documentation, and published it on crates.io. https://crates.io/crates/egui_dock

I encountered a few bugs which I'm going to work on when I find time. I'll also appreciate all contributions.

it would be nice to add padding in tab body but it's not possible to create issues on fork

boonkerz avatar Aug 09 '22 19:08 boonkerz

@boonkerz I just enabled issues, thanks for spotting that. Feel free to open one for this.

Adanos020 avatar Aug 09 '22 20:08 Adanos020

There are two good libraries for docking within a single egui viewport:

  • https://github.com/Adanos020/egui_dock
  • https://github.com/rerun-io/egui_tiles

For proper support of docking using multiple viewports (e.g. like how tabs in a browser can be detached into its own window, then dragged back in again), I've created this issue:

  • https://github.com/rerun-io/egui_tiles/issues/30

emilk avatar Nov 17 '23 11:11 emilk