Made CircularProgressIndicator size better fitting into button bar (CircularProgressIndicator default size: 40 dp)

This commit is contained in:
dankito 2024-09-20 12:10:06 +02:00
parent 78edbd6d72
commit 33b93c170f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ fun BaseDialog(
) {
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
if (showProgressIndicatorOnConfirmButton) {
CircularProgressIndicator(Modifier.padding(end = 6.dp), color = Colors.CodinuxSecondaryColor)
CircularProgressIndicator(Modifier.padding(end = 6.dp).size(36.dp), color = Colors.CodinuxSecondaryColor)
}
Text(confirmButtonTitle, color = Colors.CodinuxSecondaryColor, textAlign = TextAlign.Center, modifier = Modifier.fillMaxWidth())