From 34a8b997fc08ee301894ee106dad75f06fa5acde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=8C=AF=E5=8D=87?= <359059686@qq.com> Date: Thu, 4 Sep 2025 17:51:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E6=9F=A5=E8=AF=A2=E7=AD=9B=E9=80=89?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/problem/views/widgets/compact_filter_bar.dart | 6 +++--- .../problem/views/widgets/custom_filter_dropdown.dart | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/modules/problem/views/widgets/compact_filter_bar.dart b/lib/modules/problem/views/widgets/compact_filter_bar.dart index 669d5f3..19847f7 100644 --- a/lib/modules/problem/views/widgets/compact_filter_bar.dart +++ b/lib/modules/problem/views/widgets/compact_filter_bar.dart @@ -45,7 +45,7 @@ class CompactFilterBar extends GetView { options: controller.dateRangeOptions, selectedValue: controller.currentDateRange.value.name, onChanged: controller.updateDateRange, - width: 110.w, + width: 100.w, showBorder: false, ), ), @@ -59,7 +59,7 @@ class CompactFilterBar extends GetView { options: controller.uploadOptions, selectedValue: controller.currentUploadFilter.value, onChanged: controller.updateUploadFilter, - width: 110.w, + width: 100.w, showBorder: false, ), ), @@ -73,7 +73,7 @@ class CompactFilterBar extends GetView { options: controller.bindOptions, selectedValue: controller.currentBindFilter.value, onChanged: controller.updateBindFilter, - width: 110.w, + width: 100.w, showBorder: false, ), ), diff --git a/lib/modules/problem/views/widgets/custom_filter_dropdown.dart b/lib/modules/problem/views/widgets/custom_filter_dropdown.dart index e1e17f9..c59f404 100644 --- a/lib/modules/problem/views/widgets/custom_filter_dropdown.dart +++ b/lib/modules/problem/views/widgets/custom_filter_dropdown.dart @@ -31,7 +31,7 @@ class CustomFilterDropdown extends StatelessWidget { borderRadius: BorderRadius.circular(8.r), ) : null, - padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 0.h), + // padding: EdgeInsets.only(left: 10.w), child: DropdownButtonHideUnderline( child: DropdownButton( value: selectedValue, @@ -42,6 +42,7 @@ class CustomFilterDropdown extends StatelessWidget { color: Colors.black87, fontWeight: FontWeight.normal, ), + padding: EdgeInsets.symmetric(horizontal: 10.w), dropdownColor: Colors.white, borderRadius: BorderRadius.circular(8.r), items: options.map((DropdownOption option) {