Skip to content

Commit

Permalink
[Presentation] Improvements to the game_codes_page.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Apr 4, 2021
1 parent 17fa960 commit d0d635b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/presentation/game_codes/game_codes_page.dart
Expand Up @@ -64,9 +64,9 @@ class GameCodesPage extends StatelessWidget {
padding: Styles.edgeInsetAll5,
child: Table(
columnWidths: const {
0: FractionColumnWidth(.25),
1: FractionColumnWidth(.45),
2: FractionColumnWidth(.25),
0: FractionColumnWidth(.3),
1: FractionColumnWidth(.4),
2: FractionColumnWidth(.3),
},
children: [
TableRow(
Expand Down Expand Up @@ -101,6 +101,7 @@ class GameCodesPage extends StatelessWidget {
child: Text(
model.code,
textAlign: TextAlign.center,
style: Theme.of(context).textTheme.subtitle2.copyWith(fontSize: 12),
),
),
),
Expand All @@ -110,7 +111,7 @@ class GameCodesPage extends StatelessWidget {
),
CommonTableCell.child(
child: Wrap(
alignment: WrapAlignment.end,
alignment: WrapAlignment.center,
children: [
IconButton(
tooltip: !model.isUsed ? s.markAsUsed : s.markAsUnused,
Expand Down

0 comments on commit d0d635b

Please sign in to comment.