JamesZhang 1 год назад
Родитель
Сommit
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(
                   text,
                   text,
                   style: textStyle,
                   style: textStyle,
+                  textAlign: TextAlign.center,
                 ),
                 ),
               ],
               ],
             ),
             ),
@@ -190,6 +191,7 @@ class ImageRowTextButton extends StatelessWidget {
                 Text(
                 Text(
                   text,
                   text,
                   style: textStyle,
                   style: textStyle,
+                  textAlign: TextAlign.left,
                 ),
                 ),
               ],
               ],
             ),
             ),