Skip to content

Commit

Permalink
Fix button border alignement (#543)
Browse files Browse the repository at this point in the history
fix button border alignment

reference #541

Signed-off-by: Ivan Morgillo <[email protected]>
  • Loading branch information
hamen authored Aug 19, 2024
1 parent f085527 commit 3913724
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private fun ButtonImpl(
alignment = style.focusOutlineAlignment,
expand = style.metrics.focusOutlineExpand,
)
.border(Stroke.Alignment.Center, style.metrics.borderWidth, borderColor, shape),
.border(Stroke.Alignment.Inside, style.metrics.borderWidth, borderColor, shape),
propagateMinConstraints = true,
) {
val contentColor by colors.contentFor(buttonState)
Expand Down

0 comments on commit 3913724

Please sign in to comment.