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 @@ -76,10 +76,12 @@ class _PollWidgetState extends State<PollWidget> {
76
76
textBaseline: localizedTextBaseline (context),
77
77
children: [
78
78
ConstrainedBox (
79
- constraints: const BoxConstraints (minWidth: 25 ),
79
+ constraints: const BoxConstraints (minWidth: 44 ),
80
80
child: Container (
81
- height: 25 ,
82
- padding: const EdgeInsets .symmetric (horizontal: 4 ),
81
+ height: 44 ,
82
+ // This padding is only in effect
83
+ // when the vote count has more than one digit.
84
+ padding: const EdgeInsets .symmetric (horizontal: 15 ),
83
85
decoration: BoxDecoration (
84
86
color: theme.colorPollVoteCountBackground,
85
87
border: Border .all (color: theme.colorPollVoteCountBorder),
@@ -88,7 +90,7 @@ class _PollWidgetState extends State<PollWidget> {
88
90
child: Text (option.voters.length.toString (),
89
91
textAlign: TextAlign .center,
90
92
style: textStyleBold.copyWith (
91
- color: theme.colorPollVoteCountText, fontSize: 13 ))))),
93
+ color: theme.colorPollVoteCountText, fontSize: 16 ))))),
92
94
Expanded (
93
95
child: Wrap (
94
96
spacing: 5 ,
You can’t perform that action at this time.
0 commit comments