class ui.BoxLayout

class BoxLayout: ui.Layout {
    // enums

    enum Direction;

    // properties

    ui.BoxLayout.Direction autoget property m_direction;

    // construction

    construct(ui.BoxLayout.Direction direction);

    // methods

    void addWidget(
        ui.Widget* widget,
        int stretch = 0,
        ui.Alignment alignment = 0
    );

    void addLayout(
        ui.Layout* layout,
        int stretch = 0
    );

    void addSpacing(int size);
    void addStrut(int size);
    void addStretch(int stretch = 0);
    void addLine(ui.FrameShadow shadow = FrameShadow.Sunken);
};

Inherited Members

public:
    // properties

    int autoget property m_margin;
    int autoget property m_spacing;

    // methods

    void clear();