Dan MacNeil
02/21/2022, 7:45 PMI'm having an issue with TextButtons in Compose 1.1.0.
Info:
When you give a button a background color it takes up a certain rectangular area.
If you add a border it draws a rectangle that is larger vertically.
--
The problem I'm having is when I add a background Modifier with a gradient fill.
In Compose 1.0.5 the gradient fill takes up the same area as the button background color.
In Compose 1.1.0 the gradient fill takes the larger area the same as the border takes.
This makes very tall ugly buttons. Is there a way to get the older functionality?
Adam Powell
02/21/2022, 11:15 PMCompositionLocalProvider(LocalMinimumTouchTargetEnforcement provides false)
Dan MacNeil
02/22/2022, 2:02 PM