Skip to content

Commit 9286648

Browse files
committed
fix ui 错位
1 parent 9a9d6ea commit 9286648

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widget/gsy_flex_button.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class GSYFlexButton extends StatelessWidget {
4444
new Expanded(
4545
child: new Text(text,
4646
style: new TextStyle(fontSize: fontSize),
47+
textAlign: TextAlign.center,
4748
maxLines: maxLines,
4849
overflow: TextOverflow.ellipsis),
4950
)

0 commit comments

Comments
 (0)