I have a TextField containing a label (red) and an input field (green)
How could I make the red visual element always scale to fit exactly the size of the label text, and allow the green input field to take all the rest of the space?
I have a TextField containing a label (red) and an input field (green)
How could I make the red visual element always scale to fit exactly the size of the label text, and allow the green input field to take all the rest of the space?
Try to set Flex shrink 1, grow 0 to the label and grow 1 shrink 0 to the TextField.