In a simple AlertDialog
like the following
AlertDialog(
modifier = Modifier,
title = {
Text(text = "Title")
},
text = {
Column(
modifier = Modifier.fillMaxWidth()
) {
TextButton() {
Text("Text 1")
}
TextButton() {
Text("Text 2")
}
}
},
confirmButton = {},
dismissButton = {}
)
how can I set a spacing between title and the first TextButton
?
I tried to set a .padding(top = X.dp)
to the Column, or the first text button, but this seems to only create a space at the bottom of the AlertDialog
.
Also setting a custom .height(X.dp)
did not work.
I'm using Compose 1.0.3