class

GSDL::UI::GridBox

Inherits GSDL::UI::Container < GSDL::UI::Element < Reference < Object

Constructors

new(columns : Int32 = 3, rows : Int32 | Nil = nil, col_spacing : Int32 = 0, row_spacing : Int32 = 0, uniform_cells : Bool = true, width : Int32 = FillParent, height : Int32 = FillParent, x : Int32 = 0, y : Int32 = 0, anchor : Anchor = Anchor::TopLeft, flex : UInt8 = 0_u8, padding : SpacingInput = 0, margin : SpacingInput = 0, background_color : Color | Nil = nil)
Source
new(*args, **kwargs)
Source
new(*args, **kwargs, &)
Source

Instance methods

col_spacing
Source
col_spacing=(col_spacing : Int32)
Source
columns
Source
columns=(columns : Int32)
Source
layout!
Source
row_spacing
Source
row_spacing=(row_spacing : Int32)
Source
rows
Source
rows=(rows : Int32 | Nil)
Source
uniform_cells=(uniform_cells : Bool)
Source
uniform_cells?
Source