From 971c81c6f81a72d4007cf2543a9148de6dba0aa9 Mon Sep 17 00:00:00 2001 From: Scott Meeuwsen <3615587+nu11ptr@users.noreply.github.com> Date: Sat, 24 Aug 2024 10:31:51 -0400 Subject: [PATCH 1/2] Change NavigationAppBar leading widget to be min width instead of fixed width --- lib/src/controls/navigation/navigation_view/view.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/controls/navigation/navigation_view/view.dart b/lib/src/controls/navigation/navigation_view/view.dart index 05faa72a..5d30c88a 100644 --- a/lib/src/controls/navigation/navigation_view/view.dart +++ b/lib/src/controls/navigation/navigation_view/view.dart @@ -933,7 +933,10 @@ class NavigationAppBar with Diagnosticable { } else { return const SizedBox.shrink(); } - widget = SizedBox(width: kCompactNavigationPaneWidth, child: widget); + widget = ConstrainedBox( + constraints: + const BoxConstraints(minWidth: kCompactNavigationPaneWidth), + child: widget); return widget; }); } From 1a9f6541bc58326a28cb190246cea4ee842dc14c Mon Sep 17 00:00:00 2001 From: Scott Meeuwsen <3615587+nu11ptr@users.noreply.github.com> Date: Sat, 24 Aug 2024 10:48:44 -0400 Subject: [PATCH 2/2] Update CHANGELOG.md for PR #1103 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eee242d4..fe542669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.9.2 + +- feat: `NavigationAppBar` `leading` widget is now a minimum of `kCompactNavigationPaneWidth` width instead of being fixed to this width ([#1103](https://github.com/bdlukaa/fluent_ui/pull/1103)) + ## 4.9.1 - feat: ¹ `NumberBox` now supports precision greater than 4. ² Add `NumberBox.pattern`, `NumberBox.formatter`, `NumberBox.format` ([#1080](https://github.com/bdlukaa/fluent_ui/pull/1080))