Skip to content

Commit c80dc9b

Browse files
fix: increase size of drop down button (#31)
1 parent dfa1b77 commit c80dc9b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/screens/settings/components/custom_dropdown.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CustomDropDown extends StatelessWidget {
2626
trailing: MouseRegion(
2727
cursor: SystemMouseCursors.click,
2828
child: Container(
29-
width: Responsive.isDesktop(context) ? 300 : 100,
29+
width: Responsive.isDesktop(context) ? 300 : 125,
3030
color: kBgLightColor,
3131
child: DropdownButton<String>(
3232
underline: Container(),
@@ -36,10 +36,12 @@ class CustomDropDown extends StatelessWidget {
3636
items: items.map((String value) {
3737
return DropdownMenuItem(
3838
value: value,
39-
child: Padding(
40-
padding:
41-
const EdgeInsets.symmetric(vertical: 12, horizontal: 8),
42-
child: Text(value),
39+
child: Center(
40+
child: Padding(
41+
padding:
42+
const EdgeInsets.symmetric(vertical: 12, horizontal: 5),
43+
child: Text(value),
44+
),
4345
),
4446
);
4547
}).toList(),

0 commit comments

Comments
 (0)