From cbd6cade49b0387a0283e9f8de4d08bd918ddb43 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 22 Apr 2022 00:53:38 +1000 Subject: [PATCH] Fix alignment of text on home screen icons --- lib/widget/home.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/widget/home.dart b/lib/widget/home.dart index bc415e91..cea5773b 100644 --- a/lib/widget/home.dart +++ b/lib/widget/home.dart @@ -182,8 +182,8 @@ class _InvenTreeHomePageState extends State { return GestureDetector( child: Card( margin: EdgeInsets.symmetric( - vertical: 10, - horizontal: 10 + vertical: 12, + horizontal: 12 ), child: Column( mainAxisAlignment: MainAxisAlignment.center, @@ -193,12 +193,13 @@ class _InvenTreeHomePageState extends State { color: connected && allowed ? COLOR_CLICK : Colors.grey, ), Divider( - height: 12, + height: 15, thickness: 0, color: Colors.transparent, ), Text( label, + textAlign: TextAlign.center, ), ] )