forked from firka/student-legacy
fixed height glitch on grades page
This commit is contained in:
parent
21a5771211
commit
d27c059b23
@ -86,7 +86,7 @@ class StatisticsTile extends StatelessWidget {
|
||||
color:
|
||||
(color ?? gradeColor(context: context, value: value))
|
||||
.withOpacity(outline ? 1.0 : 0.0),
|
||||
width: fill ? 2.0 : 5.0,
|
||||
width: fill ? 5.0 : 5.0,
|
||||
)
|
||||
: null,
|
||||
borderRadius: BorderRadius.circular(45.0),
|
||||
@ -108,7 +108,7 @@ class StatisticsTile extends StatelessWidget {
|
||||
style: TextStyle(
|
||||
color: color ?? gradeColor(context: context, value: value),
|
||||
fontWeight: FontWeight.w800,
|
||||
fontSize: 32.0,
|
||||
fontSize: 28.0,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
@ -155,7 +155,7 @@ class _GradesPageState extends State<GradesPage> {
|
||||
title: AutoSizeText(
|
||||
"subjectavg".i18n,
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
value: subjectAvg,
|
||||
@ -168,7 +168,7 @@ class _GradesPageState extends State<GradesPage> {
|
||||
title: AutoSizeText(
|
||||
"classavg".i18n,
|
||||
textAlign: TextAlign.center,
|
||||
maxLines: 2,
|
||||
maxLines: 1,
|
||||
wrapWords: false,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user