fix: arrangement of buttons in PathJumpDialog
This commit is contained in:
@@ -612,8 +612,7 @@ private fun PathJumpDialog(
|
|||||||
// useLabelAsPlaceholder = true,
|
// useLabelAsPlaceholder = true,
|
||||||
)
|
)
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
horizontalArrangement = Arrangement.spacedBy(UiSpacing.ContentHorizontal),
|
||||||
horizontalArrangement = Arrangement.spacedBy(UiSpacing.PageItem),
|
|
||||||
) {
|
) {
|
||||||
TextButton(
|
TextButton(
|
||||||
text = stringResource(R.string.button_cancel),
|
text = stringResource(R.string.button_cancel),
|
||||||
@@ -621,6 +620,7 @@ private fun PathJumpDialog(
|
|||||||
haptic.contextClick()
|
haptic.contextClick()
|
||||||
onDismissRequest()
|
onDismissRequest()
|
||||||
},
|
},
|
||||||
|
modifier = Modifier.weight(1f),
|
||||||
)
|
)
|
||||||
TextButton(
|
TextButton(
|
||||||
text = stringResource(R.string.button_confirm),
|
text = stringResource(R.string.button_confirm),
|
||||||
@@ -628,6 +628,7 @@ private fun PathJumpDialog(
|
|||||||
haptic.confirm()
|
haptic.confirm()
|
||||||
onConfirm()
|
onConfirm()
|
||||||
},
|
},
|
||||||
|
modifier = Modifier.weight(1f),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user