Egui::Layout
Inherits Reference < Object
Constructors
left_to_right
Sourcenew(dir : Dir = :top_down)
Sourcetop_down
SourceInstance methods
advance(cursor : Pos2, size : Vec2, spacing : Vec2) : Pos2
Where the next widget starts after one of size was placed at
cursor (egui Layout::advance_cursor minus the cross-axis
parts — cross-axis centering for horizontal rows lives in
Ui#allocate_space / Ui#@row_h).
dir
Sourcehorizontal?
Sourcevertical?
Source