Release 0.3 (#79)

* Bump version to 0.3.0, update README.md

* Update CHANGELOG.md

* Add `egui` update to breaking changes

* Change demo.gif
This commit is contained in:
Adam Gąsior
2022-12-10 12:16:14 +00:00
committed by GitHub
parent 72a38f29ad
commit bd139a8805
4 changed files with 11 additions and 10 deletions
+4 -3
View File
@@ -1,18 +1,18 @@
# egui_dock changelog
## Unreleased
## 0.3.0 - 2022-12-10
### Added
- `TabViewer::clear_background` method that returns if current tab's background should be cleared. ([#35](https://github.com/Adanos020/egui_dock/pull/35))
- You can now close tabs with middle mouse button if `Style::show_close_buttons` is true. ([#34](https://github.com/Adanos020/egui_dock/pull/34))
- Option to disable dragging tabs.
- New option `expand_tabs` in `Style` and `StyleBuiler` causes tab titles to expand to fill the width of their tab bars.
- New option `expand_tabs` in `Style` and `StyleBuiler` causes tab titles to expand to match the width of their tab bars.
- `StyleBuilder::from_egui`. ([#40](https://github.com/Adanos020/egui_dock/pull/40))
- `Tree::find_active_focused`. ([#40](https://github.com/Adanos020/egui_dock/pull/40))
- Added `context_menu` into `TabViewer`. ([#46](https://github.com/Adanos020/egui_dock/pull/46))
- The `ScrollArea` inside a tab is now optional via `Style`. ([#49](https://github.com/Adanos020/egui_dock/pull/49))
- `Tree::tabs`: an iterator over the tabs in a tree. ([#53](https://github.com/Adanos020/egui_dock/pull/53))
- `Style` now includes an option to show the hoverd tab's name. ([#56](https://github.com/Adanos020/egui_dock/pull/56))
- `Style` now includes an option to show the hovered tab's name. ([#56](https://github.com/Adanos020/egui_dock/pull/56))
- `Style` now includes an option to change default inner_margin. ([#67](https://github.com/Adanos020/egui_dock/pull/67))
- The split separator now highlights on hover ([#68](https://github.com/Adanos020/egui_dock/pull/68))
- Tabs can now be removed with `Tree::remove_tab` ([#70](https://github.com/Adanos020/egui_dock/pull/70))
@@ -20,6 +20,7 @@
### Breaking changes
- Renamed `TabViewer::inner_margin` to `TabViewer::inner_margin_override`. ([#67](https://github.com/Adanos020/egui_dock/pull/67))
- `Style::with_separator_color` has been split into `separator_color_idle`, `separator_color_hovered`, `separator_color_dragged` ([#68](https://github.com/Adanos020/egui_dock/pull/68))
- Updated `egui` to 0.20.0 [#77](https://github.com/Adanos020/egui_dock/pull/77)
### Deprecated (will be deleted in the next release)
- `dynamic_tab::TabContent`
+2 -3
View File
@@ -2,9 +2,9 @@
name = "egui_dock"
description = "Docking support for `egui` - an immediate-mode GUI library for Rust"
authors = ["lain-dono", "Adam Gąsior (Adanos020)"]
version = "0.2.1"
version = "0.3.0"
edition = "2021"
rust-version = "1.62"
rust-version = "1.65"
license = "MIT"
readme = "README.md"
repository = "https://github.com/Adanos020/egui_dock"
@@ -17,7 +17,6 @@ default = []
# Enable serialization of `Tree`.
serde = ["dep:serde", "egui/serde"]
[dependencies]
egui = "0.20"
serde = { version = "1", optional = true, features = ["derive"] }
+5 -4
View File
@@ -4,12 +4,13 @@
[![Crates.io](https://img.shields.io/crates/v/egui_dock)](https://crates.io/crates/egui_dock)
[![docs.rs](https://img.shields.io/docsrs/egui_dock)](https://docs.rs/egui_dock/)
Credit goes to [@lain-dono](https://github.com/lain-dono) for implementing the actual library.
This fork aims to provide documentation and further development if necessary.
Originally created by [@lain-dono](https://github.com/lain-dono), this library provides docking support for `egui`.
It lets you open and close tabs, freely move them around, insert them in selected parts of the `DockArea`, and resize them.
## How to contribute
Feel free to open new issues and pull requests.
Before contributing, please read [the contribution guide](CONTRIBUTING.md).
## Quick start
@@ -18,7 +19,7 @@ Add `egui_dock` to your project's dependencies.
```toml
[dependencies]
egui_dock = "0.2"
egui_dock = "0.3"
```
Instead of explicitly depending on `egui`, prefer using `egui_dock_::egui` since it is the compatible version.
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 688 KiB

After

Width:  |  Height:  |  Size: 149 KiB