adjust UI layout in StartExerciseScreen and disable text wrapping for action buttons in StartExerciseScreen and HomeScreen
This commit is contained in:
@@ -364,7 +364,7 @@ fun WeeklyProgressSection(
|
|||||||
) {
|
) {
|
||||||
Text(text = stringResource(R.string.label_weekly_progress), style = MaterialTheme.typography.titleMedium, fontWeight = FontWeight.Bold)
|
Text(text = stringResource(R.string.label_weekly_progress), style = MaterialTheme.typography.titleMedium, fontWeight = FontWeight.Bold)
|
||||||
TextButton(onClick = { navController.navigate(NavigationRoutes.STATS_VOCABULARY_HEATMAP) }) {
|
TextButton(onClick = { navController.navigate(NavigationRoutes.STATS_VOCABULARY_HEATMAP) }) {
|
||||||
Text(stringResource(R.string.label_see_history))
|
Text(stringResource(R.string.label_see_history), softWrap = false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -737,9 +737,9 @@ fun NumberOfCardsSection(
|
|||||||
availableQuickSelections.forEach { value ->
|
availableQuickSelections.forEach { value ->
|
||||||
AppOutlinedButton(
|
AppOutlinedButton(
|
||||||
onClick = { onAmountChanged(value) },
|
onClick = { onAmountChanged(value) },
|
||||||
modifier = Modifier.weight(1f).padding(4.dp)
|
modifier = Modifier.weight(1f).padding(0.dp)
|
||||||
) {
|
) {
|
||||||
Text(text = value.toString())
|
Text(text = value.toString(), softWrap = false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user