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,
                 ),
               ],
             ),