From 8426570ced555d974a45427208f3c9e871ca93b6 Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Thu, 14 Mar 2024 19:54:37 +0800 Subject: [PATCH] feat: merge to `fluent_ui: ^4.8.6` --- lib/ui/home/home_ui.dart | 5 ++++- lib/ui/tools/tools_ui.dart | 2 ++ pubspec.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ui/home/home_ui.dart b/lib/ui/home/home_ui.dart index 0b01048..95ce996 100644 --- a/lib/ui/home/home_ui.dart +++ b/lib/ui/home/home_ui.dart @@ -127,6 +127,7 @@ class HomeUI extends HookConsumerWidget { Expanded( child: ComboBox( value: homeState.scInstalledPath, + isExpanded: true, items: [ const ComboBoxItem( value: "not_install", @@ -135,7 +136,9 @@ class HomeUI extends HookConsumerWidget { for (final path in homeState.scInstallPaths) ComboBoxItem( value: path, - child: Text(path), + child: Row( + children: [Text(path)], + ), ) ], onChanged: model.onChangeInstallPath, diff --git a/lib/ui/tools/tools_ui.dart b/lib/ui/tools/tools_ui.dart index e48fe86..85c0bf8 100644 --- a/lib/ui/tools/tools_ui.dart +++ b/lib/ui/tools/tools_ui.dart @@ -196,6 +196,7 @@ class ToolsUI extends HookConsumerWidget { child: SizedBox( height: 36, child: ComboBox( + isExpanded: true, value: state.scInstalledPath, items: [ for (final path in state.scInstallPaths) @@ -233,6 +234,7 @@ class ToolsUI extends HookConsumerWidget { child: SizedBox( height: 36, child: ComboBox( + isExpanded: true, value: state.rsiLauncherInstalledPath, items: [ for (final path in state.rsiLauncherInstallPaths) diff --git a/pubspec.yaml b/pubspec.yaml index a8880cc..45a3ada 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -37,7 +37,7 @@ dependencies: json_annotation: ^4.8.1 go_router: ^13.2.0 window_manager: ^0.3.2 - fluent_ui: 4.8.5 + fluent_ui: ^4.8.6 flutter_staggered_grid_view: ^0.7.0 flutter_acrylic: ^1.1.0 url_launcher: ^6.1.10