diff options
author | Tomi Leppänen <tomi.leppanen@seafarix.com> | 2024-08-23 11:31:21 +0300 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2024-10-17 20:09:49 +0000 |
commit | 3f1370ada560d824e1cf2258e7c475a32b750e95 (patch) | |
tree | 4f6fb03458341ee34fca5b9888909af635dfc00b /lib | |
parent | 4d058d87aebaa1d3d47a835559dfa0fe0d8b7b74 (diff) |
Fix UnitsTile effect height
Previously had weird looking effect that didn't fill the whole tile.
This fixes that by extending ListTile to fill the whole container while
retaining the previous padding for content.
Bug-AGL: SPEC-5261
Change-Id: Icbaa73b86ee6c9f082f9bd433364c543451c5f69
Signed-off-by: Tomi Leppänen <tomi.leppanen@seafarix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/presentation/screens/settings/settings_screens/units/units_screen.dart | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart index a49546f..ba84471 100644 --- a/lib/presentation/screens/settings/settings_screens/units/units_screen.dart +++ b/lib/presentation/screens/settings/settings_screens/units/units_screen.dart @@ -100,7 +100,6 @@ class UnitsTileState extends ConsumerState<UnitsTile> { children: [ Container( margin: const EdgeInsets.symmetric(vertical: 8), - padding: const EdgeInsets.symmetric(vertical: 15), decoration: const BoxDecoration( gradient: LinearGradient( begin: Alignment.centerLeft, @@ -111,7 +110,7 @@ class UnitsTileState extends ConsumerState<UnitsTile> { //color: Color(0xFF0D113F), child: ListTile( contentPadding: - const EdgeInsets.symmetric(vertical: 17, horizontal: 24), + const EdgeInsets.symmetric(vertical: 32, horizontal: 24), leading: widget.icon != null ? Icon( widget.icon, |