Open romanpechegin opened 5 days ago
When using verticalGap and horizontalGap, gaps are not calculated correctly. Probably a toPx() call is missing somewhere.
createFlow( elements = refs.toTypedArray(), horizontalGap = 16.dp, verticalGap = 16.dp, wrapMode = Wrap.Chain, verticalAlign = VerticalAlign.Top )
If you specify 16.dp.toPx().dp then everything works fine
When using verticalGap and horizontalGap, gaps are not calculated correctly. Probably a toPx() call is missing somewhere.
If you specify 16.dp.toPx().dp then everything works fine