From b8c7789b83aaaa492f0a343d10b43e502c4c6ab1 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 21 Oct 2021 17:24:08 +0300 Subject: [PATCH] Make app buttons the same height as outlined buttons --- lib/ui/app/buttons/elevated_button.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ui/app/buttons/elevated_button.dart b/lib/ui/app/buttons/elevated_button.dart index e07bbc042..96ae80564 100644 --- a/lib/ui/app/buttons/elevated_button.dart +++ b/lib/ui/app/buttons/elevated_button.dart @@ -35,7 +35,10 @@ class AppButton extends StatelessWidget { text: label, alignment: MainAxisAlignment.center, ) - : Text(label, overflow: TextOverflow.ellipsis), + : SizedBox( + child: Text(label, overflow: TextOverflow.ellipsis), + height: 24, + ), onPressed: onPressed, );