Join Slack
I have a following design with a `TextButton`. `TextButton` has its own paddings, but I want the ver...
# compose
l
Lukasz Kalnik
11/07/2023, 2:59 PM
I have a following design with a
TextButton
.
TextButton
has its own paddings, but I want the vertical spacing between the items of the containing
Column
and the
Column
vertical padding to remain constant, whether the button is shown or hidden.
Lukasz Kalnik
11/07/2023, 3:09 PM
Currently I calculate the button top/bottom paddings and subtract them from the Column padding/Spacer height, but I wonder if there's a better way.
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by