Stylianos Gakis
05/09/2024, 9:26 AMweight()
modifier on that first item?
Currently, no matter what, in for example a row of 2 items, if those two items don't quite fit in the available space the first item always wins over and makes the other item disappear. Is there some way to have the second item be the one which always wins without adding a weight to the first one?Filip Wiesner
05/09/2024, 9:38 AMweight
, which are measured last. So you'd have to create a custom layout for that if you have a use case for it and are not just asking out of curiosity.Filip Wiesner
05/09/2024, 9:39 AMRowColumnMeasurementHelper::measureWithoutPlacing
Stylianos Gakis
05/09/2024, 9:59 AMfillMaxWidth
on the text field itself, otherwise it just takes up no width. That is if you are in a container which is horizontally scrollable already, so weight does not want to take up infinite width, and it takes nothing instead.Filip Wiesner
05/09/2024, 10:06 AMStylianos Gakis
05/09/2024, 10:11 AMZach Klippenstein (he/him) [MOD]
05/09/2024, 5:12 PMZach Klippenstein (he/him) [MOD]
05/09/2024, 5:12 PMStylianos Gakis
05/09/2024, 5:20 PM