fixed long subject names in grades summary

This commit is contained in:
kima 2023-06-25 14:55:01 +02:00
parent 2c5939fab4
commit 9d9f99a955

View File

@ -107,6 +107,7 @@ class _GradesBodyState extends State<GradesBody> {
Text( Text(
subject.renamedTo ?? subject.name.capital(), subject.renamedTo ?? subject.name.capital(),
maxLines: 2, maxLines: 2,
overflow: TextOverflow.ellipsis,
style: TextStyle( style: TextStyle(
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
fontSize: 20.0, fontSize: 20.0,