Skip to content

Offline gym log for Android. No account, no ads, no internet.

Fix a cut label in the note editor

InlitXdf0339a1db04
diff --git a/lib/screens/note_edit_screen.dart b/lib/screens/note_edit_screen.dart
index 7cc6e2d..3f76920 100644
--- a/lib/screens/note_edit_screen.dart
+++ b/lib/screens/note_edit_screen.dart
@@ -254,7 +254,12 @@ class _NoteEditScreenState extends State<NoteEditScreen> {
children: [
Icon(icon, size: 19, color: gc.textSecondary),
const SizedBox(width: 14),
- Text(sentenceCase(label), style: AppTheme.f(14.5, weight: FontWeight.w500, color: gc.text)),
+ Flexible(
+ child: Text(sentenceCase(label),
+ maxLines: 1,
+ overflow: TextOverflow.ellipsis,
+ style: AppTheme.f(14.5, weight: FontWeight.w500, color: gc.text)),
+ ),
const SizedBox(width: 12),
Expanded(
child: Text(value,