mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-08 19:44:25 +08:00
fix: button content not in center
This commit is contained in:
@@ -98,7 +98,8 @@ fun Button(
|
|||||||
role = Role.Button,
|
role = Role.Button,
|
||||||
interactionSource = interactionSource,
|
interactionSource = interactionSource,
|
||||||
onClick = onClick
|
onClick = onClick
|
||||||
)
|
),
|
||||||
|
contentAlignment = Alignment.Center
|
||||||
) {
|
) {
|
||||||
CompositionLocalProvider(
|
CompositionLocalProvider(
|
||||||
LocalIconStyle provides LocalIconStyle.current.copy(tint = colors.contentColor),
|
LocalIconStyle provides LocalIconStyle.current.copy(tint = colors.contentColor),
|
||||||
|
Reference in New Issue
Block a user