If I got a composable, not inside a ColumnScope or anything, is it possible to somehow make it take 80% of the width while also centering its content in that available space?
Basically from left to right I want it to have 10% spacing, 80% content, 10% spacing.
If I am inside a Column, I can very easily do
In this context that was not the most convenient option. It's a modifier that I was passing down to a child, so I had to do it in a modifier. Also why introduce another wrapper if I can do it in a modifier anyway? And this one looked to just work, I'll test more tomorrow.