:android-wave: Is there a way to remove the paddin...
# compose
c
👋 Is there a way to remove the padding/extra height from a
TextButton
? 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.
In other words I'm trying to negate the implementation of a Button that is:
Copy code
Row(
    Modifier
        .defaultMinSize(
            minWidth = ButtonDefaults.MinWidth,
            minHeight = ButtonDefaults.MinHeight
        )
        .padding(contentPadding)
s
It's not yet implemented. You can follow the issue here https://issuetracker.google.com/issues/171394808
c
Thank you!