From 88af4885c868391d48b1356b52cb396af8672242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20G=C4=85sior?= Date: Sun, 14 Aug 2022 20:45:09 +0100 Subject: [PATCH] Update CHANGELOG.md (#17) --- CHANGELOG.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd32f3d..9514ce4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,13 +3,24 @@ ## Added - `StyleBuilder` for the `Style` -- New fields `separator_color`, also added `border_color` and `border_size` for the cases when used `Margin` +- New fields in `Style:` `separator_color`, `border_color`, and `border_size` (last two for the cases when used `Margin`) +- `TabBuilder` for the `Tab` +- Support for all implementations of `Into` in tab titles +- Style editor in the `hello` example ## Changed - Now when you drag a tab it has an outline along the entire length of the edges of it - Bumped MSRV to `1.62` +## Breaking changes + +- `Tab` is no longer a trait for the user to implement, instead it is now a customizable widget constructed with `TabBuilder` +- Renamed `Style::border_size` to `Style::border_width` +- Renamed `Style::separator_size` to `Style::separator_width` +- Removed `Style::tab_text_color` as you can now set the tab text color of a tab by passing `RichText` for its title +- Removed the requirement of creating your own Context type + ## Fixed - Now selection color of the placing area for the tab isn't showing if the tab is targeted on its own node when the tab is the only member of this node