File tree 1 file changed +6
-4
lines changed 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,12 @@ class _PollWidgetState extends State<PollWidget> {
93
93
textBaseline: localizedTextBaseline (context),
94
94
children: [
95
95
ConstrainedBox (
96
- constraints: const BoxConstraints (minWidth: 25 ),
96
+ constraints: const BoxConstraints (minWidth: 44 ),
97
97
child: Container (
98
- height: 25 ,
99
- padding: const EdgeInsets .symmetric (horizontal: 4 ),
98
+ height: 44 ,
99
+ // This padding is only in effect
100
+ // when the vote count has more than one digit.
101
+ padding: const EdgeInsets .symmetric (horizontal: 15 ),
100
102
decoration: BoxDecoration (
101
103
color: theme.colorPollVoteCountBackground,
102
104
border: Border .all (color: theme.colorPollVoteCountBorder),
@@ -105,7 +107,7 @@ class _PollWidgetState extends State<PollWidget> {
105
107
child: Text (option.voters.length.toString (),
106
108
textAlign: TextAlign .center,
107
109
style: textStyleBold.copyWith (
108
- color: theme.colorPollVoteCountText, fontSize: 13 ))))),
110
+ color: theme.colorPollVoteCountText, fontSize: 16 ))))),
109
111
Expanded (
110
112
child: Wrap (
111
113
spacing: 5 ,
You can’t perform that action at this time.
0 commit comments