https://kotlinlang.org logo
#compose
Title
# compose
b

brandonmcansh

07/31/2020, 2:17 AM
WithConstraints
might get you there I would think
j

jim

07/31/2020, 10:07 AM
WithConstraints
is super useful, and it was a good thought, but I don't think it'll quite get you there.
WithConstraints
is more about determining your own size constraints as passed down from your parent (in particular, how much space does your widget have available), rather than about the space requested by your child.
b

brandonmcansh

07/31/2020, 11:31 AM
Ah that makes sense. After my response I started to dig into how the DrawerLayout places itself and saw the layout use. Makes sense now