Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ private object CustomLayoutsSnippet4 {
) { measurables, constraints ->
// measure and position children given constraints logic here
// [START_EXCLUDE]
val looseConstraints = constraints.copy(minHeight = 0)
val placeables = measurables.map { measurable ->
// Measure each children
measurable.measure(constraints)
measurable.measure(looseConstraints)
}

// Set the size of the layout as big as it can
Expand Down