Alex Styl
12/24/2024, 5:32 AM<http://Arrangement.Top|Arrangement.Top>
vs Arrangement.spacedBy(0.dp, <http://Alignment.Top|Alignment.Top>)
does not produce the same result when passed to a `FlowRow`'s verticalArrangement?
I was under the impression they mean the same thing. Am I missing something or is this a bug?
(<- Top || spacedBy ->)Alex Styl
12/24/2024, 5:32 AMFlowRow(
modifier = Modifier.fillMaxSize(),
overflow = FlowRowOverflow.Visible,
verticalArrangement = Arrangement.Top
// vs verticalArrangement = Arrangement.spacedBy(0.dp, Alignment.Top)
) {
repeat(52) {
Item(Modifier.width(300.dp))
}
}
shikasd
12/24/2024, 7:00 PMPlace children vertically such that each two adjacent ones are spaced by a fixed [space]
* distance. The spacing will be subtracted from the available height that the children can
* occupy. An [alignment] can be specified to align the spaced children vertically inside
* the parent, in case there is empty height remaining.
shikasd
12/24/2024, 7:01 PMAlex Styl
12/25/2024, 11:41 AMshikasd
12/25/2024, 4:27 PMAlex Styl
12/26/2024, 4:02 AMshikasd
12/27/2024, 9:53 PM