Problem
ExerciseEditDialog.kt contains multiple fixed widths that create rigid layouts.
Platforms Affected
- ✅ Android tablets
- ✅ iPads (iOS)
Affected Areas
| Element |
Size |
Line |
| Label width |
width(60.dp) |
~91 |
| Label width |
width(100.dp) |
~127 |
| Label width |
width(120.dp) |
~148 |
| Input field |
width(120.dp) |
~229 |
Current Behavior
Creates rigid layouts that don't adapt. Labels ("Sets:", "Set 1:") are cramped, input fields shrink unnecessarily. Spacing is inefficient on wide tablets.
Expected Behavior
Dialog content should use responsive layouts that adapt to available space.
Suggested Fix
Use Modifier.fillMaxWidth() with weight(1f) or flexible padding to create responsive layouts.
Priority
🟢 Medium
Problem
ExerciseEditDialog.ktcontains multiple fixed widths that create rigid layouts.Platforms Affected
Affected Areas
width(60.dp)width(100.dp)width(120.dp)width(120.dp)Current Behavior
Creates rigid layouts that don't adapt. Labels ("Sets:", "Set 1:") are cramped, input fields shrink unnecessarily. Spacing is inefficient on wide tablets.
Expected Behavior
Dialog content should use responsive layouts that adapt to available space.
Suggested Fix
Use
Modifier.fillMaxWidth()withweight(1f)or flexible padding to create responsive layouts.Priority
🟢 Medium