Made CircularProgressIndicator size better fitting into button bar (CircularProgressIndicator default size: 40 dp)
This commit is contained in:
parent
78edbd6d72
commit
33b93c170f
|
@ -63,7 +63,7 @@ fun BaseDialog(
|
||||||
) {
|
) {
|
||||||
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
|
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
|
||||||
if (showProgressIndicatorOnConfirmButton) {
|
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())
|
Text(confirmButtonTitle, color = Colors.CodinuxSecondaryColor, textAlign = TextAlign.Center, modifier = Modifier.fillMaxWidth())
|
||||||
|
|
Loading…
Reference in New Issue