Chris Johnson
09/13/2021, 9:54 PMTextButton
? I've tried setting ContentPadding
to 0.dp and using Modifier.heightIn(min = 0.dp
but neither work for my use case. I'm trying to make my TextButton be the same height as a Text
I have in a Row. I would use Intrinsics.Min but it doesn't respect that.Chris Johnson
09/13/2021, 9:56 PMRow(
Modifier
.defaultMinSize(
minWidth = ButtonDefaults.MinWidth,
minHeight = ButtonDefaults.MinHeight
)
.padding(contentPadding)
Sergey Y.
09/13/2021, 10:37 PMChris Johnson
09/13/2021, 11:59 PM