From 74a0f705b8a0af6dcaea358cfee53f4a7e39f227 Mon Sep 17 00:00:00 2001 From: sorairo Date: Sun, 13 Aug 2023 11:49:56 +0900 Subject: [PATCH] =?UTF-8?q?DropdownButton=E3=81=AE=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../general_settings_page/general_settings_page.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/view/settings_page/general_settings_page/general_settings_page.dart b/lib/view/settings_page/general_settings_page/general_settings_page.dart index dedf4df33..8014fca14 100644 --- a/lib/view/settings_page/general_settings_page/general_settings_page.dart +++ b/lib/view/settings_page/general_settings_page/general_settings_page.dart @@ -99,6 +99,7 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), const Text("閲覧注意のついたノートの表示"), DropdownButton( + isExpanded: true, items: [ for (final element in NSFWInherit.values) DropdownMenuItem( @@ -117,6 +118,7 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), const Text("一覧の自動更新"), DropdownButton( + isExpanded: true, items: [ for (final element in AutomaticPush.values) DropdownMenuItem( @@ -163,11 +165,12 @@ class GeneralSettingsPageState extends ConsumerState { const Padding(padding: EdgeInsets.only(top: 10)), const Text("タブの位置"), DropdownButton( + isExpanded: true, items: [ for (final element in TabPosition.values) DropdownMenuItem( value: element, - child: Text(element.displayName), + child: Text("${element.displayName}に表示する"), ) ], value: tabPosition,