package ui import rl "github.com/gen2brain/raylib-go/raylib" type GridColumn struct { Weight float32 Spacing float32 Elements []UIElement cache layoutCache } func (base *GridColumn) Init(*Menu) { } func (base *GridColumn) Destroy() { } // Gets the scale width of the element. Works similar to CSS's 'flex-grow' func (base *GridColumn) GetOccupationWeight() float32 { return base.Weight } // Draw the element with the given size func (base *GridColumn) Draw(*rl.Rectangle) { }