From c233d380ab96215598ddfebf35c411fa77591afe Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Thu, 5 Mar 2020 19:20:13 +0200 Subject: [PATCH] restore-button-fix | added padding to the title --- .../screens/restore/widgets/restore_button.dart | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/src/screens/restore/widgets/restore_button.dart b/lib/src/screens/restore/widgets/restore_button.dart index 3de1c9e03..af3b0cc07 100644 --- a/lib/src/screens/restore/widgets/restore_button.dart +++ b/lib/src/screens/restore/widgets/restore_button.dart @@ -58,13 +58,16 @@ class RestoreButton extends StatelessWidget { ), Column( children: [ - AutoSizeText( - title, - textAlign: TextAlign.center, - style: TextStyle( - color: titleColor, - fontWeight: FontWeight.bold), - maxLines: 1, + Padding( + padding: EdgeInsets.only(left: 20, right: 20), + child: AutoSizeText( + title, + textAlign: TextAlign.center, + style: TextStyle( + color: titleColor, + fontWeight: FontWeight.bold), + maxLines: 1, + ), ), Padding( padding: EdgeInsets.only(left: 20, right: 20, top: 10),