Mark
02/10/2024, 3:04 AMMark
02/10/2024, 3:09 AMModifier.fillMaxSize()
when non-empty, and so push the problem over to the layout composable. Perhaps the composable doing the laying out should use Modifier.layout
in order to discover whether the passed-in composable actually has content, and so, if it does, only then make the necessary calculations regarding what space the passed-in composable should occupy.Zach Klippenstein (he/him) [MOD]
02/12/2024, 6:05 PMZach Klippenstein (he/him) [MOD]
02/12/2024, 6:05 PM