Skip to content

Commit

Permalink
make menu big buttons a little larger and center wrapped text (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Oct 31, 2024
1 parent 940cfa5 commit 5b905ba
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,16 @@ private fun BigMenuButton(
) {
Column(
modifier = modifier
.width(144.dp)
.width(160.dp)
.clickable { onClick() }
.padding(16.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
icon()
Text(
text = text,
style = MaterialTheme.typography.body1
style = MaterialTheme.typography.body1,
textAlign = TextAlign.Center
)
}
}
Expand Down

0 comments on commit 5b905ba

Please sign in to comment.