JamesZhang 1 рік тому
батько
коміт
078946c643
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      lib/components/imageButton.dart

+ 2 - 0
lib/components/imageButton.dart

@@ -118,6 +118,7 @@ class ImageColumnTextButton extends StatelessWidget {
                 Text(
                   text,
                   style: textStyle,
+                  textAlign: TextAlign.center,
                 ),
               ],
             ),
@@ -190,6 +191,7 @@ class ImageRowTextButton extends StatelessWidget {
                 Text(
                   text,
                   style: textStyle,
+                  textAlign: TextAlign.left,
                 ),
               ],
             ),