Alexander Maryanovsky
03/06/2023, 3:05 PMBox(Modifier.fillMaxSize()) and I want to place some content into it such that the content is centered and either takes its intrinsic size (if it has one) or fills the entire box if it doesn’t (like in the case of lazy layouts). Is there a way to do that? Modifier.size(IntrinsicSize.Min/Max) throws about being unable to ask a SubcomposeLayout about its intrinsic size.mgrazianodecastro
03/06/2023, 3:09 PMBoxWithConstraints with a hightIn, widthIn, sizeIn, ratio choice combination?Alexander Maryanovsky
03/06/2023, 3:12 PMmgrazianodecastro
03/06/2023, 3:29 PMModifier.height(height) , where height is calculated considering whether it has a defined height or not, like maxHeight in place of a height. But maybe that's not enough for you 😅