Skip to content

Commit 40adae1

Browse files
authored
Merge pull request #199 from Yousef-Rabia/UI-Spacing-Issue-in-Settings-Screen
UI Spacing Issue in Settings Screen
2 parents e497f8d + 5f3309f commit 40adae1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/consts.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ const kP8CollectionPane = EdgeInsets.only(
9090
//right: 4.0,
9191
// bottom: 8.0,
9292
);
93+
const kPb10 = EdgeInsets.only(
94+
bottom: 10,
95+
);
9396
const kPr8CollectionPane = EdgeInsets.only(right: 8.0);
9497
const kpsV5 = EdgeInsets.symmetric(vertical: 2);
9598
const kHSpacer4 = SizedBox(width: 4);

lib/screens/settings_page.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SettingsPage extends ConsumerWidget {
6161
},
6262
),
6363
ListTile(
64-
contentPadding: EdgeInsets.zero,
64+
contentPadding: kPb10,
6565
hoverColor: kColorTransparent,
6666
title: const Text('Default URI Scheme'),
6767
subtitle: Text(
@@ -82,7 +82,7 @@ class SettingsPage extends ConsumerWidget {
8282
}).toList()),
8383
),
8484
ListTile(
85-
contentPadding: EdgeInsets.zero,
85+
contentPadding: kPb10,
8686
hoverColor: kColorTransparent,
8787
title: const Text('Default Code Generator'),
8888
trailing: DropdownMenu(

0 commit comments

Comments
 (0)