adaptive column
Last updated
Was this helpful?
Last updated
Was this helpful?
โฉ โฉ โฉ adaptive column
.adaptive(minimum:maximum):
a single may represent more than one column.
SwiftUI will try to fit as many minimum width columns as possible, but once the number of columns is determined, these can grow up to the maximum width provided, so it fills the full space.
The method to determine how much space will be given to this GridItem is the same used for the case (without the clamping).
the minimum property of an adaptive column is only used to compute the number of items inside that column, it's NOT the minimum width of that columnโ๏ธ๐
โฌ๏ธ ้่ฆ๏ผ ๐
SwiftUI โฉ Layout โฉ โฉ
objc โฉ โญ๏ธโญ๏ธ - how flexible/adaptive columns behave. (๐ไพไธ)