BeginColumn#
func BeginColumn(bounds Rect, gap float32) ColumnBeginColumn starts a vertical stack inside bounds.
API 文档由 Go 源码生成,内容为英文。
type Column struct {
// contains filtered or unexported fields
}Column lays out slots top to bottom with a fixed gap. It mirrors Row.
BeginColumn#func BeginColumn(bounds Rect, gap float32) ColumnBeginColumn starts a vertical stack inside bounds.
Even#func (c *Column) Even(n int) []RectEven returns n equal-height slots in one call.
Next#func (c *Column) Next(height float32) RectNext returns the next slot with the requested height. Slots are full width.
NextFlex#func (c *Column) NextFlex() RectNextFlex returns one slot filling all remaining height.
Remaining#func (c Column) Remaining() float32Remaining reports the unclaimed height, ignoring a trailing gap.