Davide Giuseppe Farella
10/06/2020, 4:31 PMColumn {
Text(...)
Image(...)
}
which is the best way to let the the Text.width to be at most as Image.width?
I don’t want the Text to exceed the Image sizeZach Klippenstein (he/him) [MOD]
10/06/2020, 4:48 PMDavide Giuseppe Farella
10/06/2020, 4:52 PMmattinger
10/06/2020, 5:16 PMZach Klippenstein (he/him) [MOD]
10/06/2020, 5:29 PMDavide Giuseppe Farella
10/06/2020, 5:53 PMZach Klippenstein (he/him) [MOD]
10/06/2020, 6:30 PMLayout
that knows it only has two children, and what those children are, and can explicitly size itself appropriately. Making custom layouts is pretty easy with compose, so that might actually be easier/more readable/maintainable than using intrinsics depending how confusing they are.