Back to Serenity

Frame

Base/usr/share/man/man5/GML/Widget/Frame.md

latest882 B
Original Source

Name

GML Frame Widget

Description

Defines a GUI frame widget. Frames can contain other GUI widgets.

Synopsis

@GUI::Frame

Examples

gml
@GUI::Frame {
    name: "tip_frame"
    min_width: 340
    min_height: 160
    layout: @GUI::HorizontalBoxLayout {
        margins: [0, 16, 0, 0]
    }
}

Registered Properties

PropertyTypePossible valuesDescription
thicknessinteger64-bit integerSets the thickness
shadowenumPlain, Raised, SunkenSets the shadow
shapeenumNoFrame, Box, Container, Panel, VerticalLine, HorizontalLineSets the shape