Hey So I'm wondering if there is anyway of finding...
# compose
y
Hey So I'm wondering if there is anyway of finding the width (or height) of a component without implementing a custom layout to measure it? My use case is basically I want to have a lazy grid (which is just going to be lazy column with rows), but I need to chunk my images, so each row can fit perfectly with it's parent container, before going into the next one, luckly my images are fixed constant width, so all I need to do is figure out the width of the parent container, so i can calculate the amount i need to chunk it by, hopefully that expresses my use case and any solution to my problem would nice (hopefully without me having to implement my own lazy grid :P)
This, was exactly what I was looking for, I'll be honest I didn't expect someone to reply so quickly so I'm in bed now so idk 100%, but looking at the docs on my phone, this looks like what I need, tysm
👍 1