diff --git a/lib/components/Buttons/simple_button.dart b/lib/components/Buttons/simple_button.dart index a8bb6b86d..c7a576d83 100644 --- a/lib/components/Buttons/simple_button.dart +++ b/lib/components/Buttons/simple_button.dart @@ -39,9 +39,6 @@ class SimpleButton extends StatelessWidget { color: (disabled || inactive) ? iconColor?.withOpacity(0.5) : iconColor, weight: 1.5, ), - const SizedBox( - width: 6, - ), Text( text, style: TextStyle( @@ -51,6 +48,7 @@ class SimpleButton extends StatelessWidget { fontSize: 14, fontWeight: FontWeight.normal, ), + textAlign: TextAlign.center, ), ]; @@ -74,6 +72,8 @@ class SimpleButton extends StatelessWidget { ), child: Wrap( crossAxisAlignment: WrapCrossAlignment.center, + alignment: WrapAlignment.center, + spacing: 6.0, children: iconPosition == IconPosition.start ? contents : contents.reversed.toList(),