Nino
07/28/2024, 1:04 AMKirill Grouchnikov
07/28/2024, 1:58 AMNino
07/28/2024, 2:00 AM.weight
between the headers and data then 😄Matthew Feinberg
07/28/2024, 2:33 AMModifier.columnId(id: Any)
. The first "item" is considered the header, and the first item's GridRow just observes the widths of any children with the columnId modifier. The remaining items (if they have a GridRow) apply the observed widths from the header item. I had to do some weird stuff with compositionLocalOf
to communicate the widths to the child GridRow instances, which I'm not sure is going to be performant. It's quite janky and not nearly ready for anything besides my narrow use-case, but it does get the job done (unfortunately, no, I can't share the code, but maybe someday I can make an open-source-able version).zt
07/28/2024, 3:58 PM