lhwdev
10/30/2021, 2:22 AM.minimumTouchTargetSize()
was added to Surface.
Button should extend to minimum touch target size, but it seems only the Surface (in the Button.kt
) extended, Row didn't extended. Is this expected behavior?lhwdev
10/30/2021, 2:23 AMOutlinedButton(onClick = {}, modifier = Modifier.background(Color.Gray)) { Text("button!") }
lhwdev
10/30/2021, 2:25 AMSurface
expands correctly, but Row
inside does not. Row 1) should fit the size of surface or 2)
.minimumTouchTargetSize()
should be added to Row.
See https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]c/commonMain/kotlin/androidx/compose/material/Button.kt;l=122lhwdev
10/30/2021, 2:28 AMLocalMinimumTouchTargetEnforcement
= falselhwdev
10/30/2021, 2:36 AM