Modificação nos modos, correção de textos cortados
This commit is contained in:
@@ -646,7 +646,7 @@ class _InteractiveQuizSheetState extends State<_InteractiveQuizSheet> {
|
||||
children: [
|
||||
Text(
|
||||
widget.title,
|
||||
maxLines: 1,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold, color: cs.onSurface),
|
||||
),
|
||||
@@ -994,7 +994,7 @@ class _TeacherQuizInteractiveSheetState extends State<_TeacherQuizInteractiveShe
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(widget.title,
|
||||
maxLines: 1,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(fontSize: 15, fontWeight: FontWeight.bold, color: cs.onSurface)),
|
||||
if (!_submitted)
|
||||
|
||||
@@ -504,6 +504,7 @@ class _QuizEditorPageState extends State<_QuizEditorPage> {
|
||||
appBar: AppBar(
|
||||
title: Text(
|
||||
widget.materialName.replaceAll('.pdf', '').replaceAll('_', ' '),
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
backgroundColor: cs.surface,
|
||||
@@ -693,7 +694,7 @@ class _QuestionEditorState extends State<_QuestionEditor> {
|
||||
Expanded(
|
||||
child: Text(
|
||||
widget.question.question.isEmpty ? 'Pergunta ${widget.index + 1}' : widget.question.question,
|
||||
maxLines: 1,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: cs.onSurface),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user