feat: align to bottom
This commit is contained in:
parent
02673ec9f3
commit
d937915ac7
1 changed files with 5 additions and 2 deletions
|
@ -6,6 +6,7 @@ import androidx.compose.material.Card
|
|||
import androidx.compose.material.Text
|
||||
import androidx.compose.material.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.window.Dialog
|
||||
|
@ -25,9 +26,11 @@ fun EntryDialog(
|
|||
// Buttons
|
||||
Row(
|
||||
horizontalArrangement = Arrangement.End,
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.fillMaxHeight(),
|
||||
verticalAlignment = Alignment.Bottom
|
||||
) {
|
||||
|
||||
TextButton(onClick = { onStateChange(false) }) {
|
||||
Text(text = "Cancel")
|
||||
}
|
||||
|
|
Reference in a new issue