ladybird/Base/usr/share/man/man5/GML/Widget/Frame.md
kleines Filmröllchen 3df2eb66be Base: Move GML Widget documentation to subsubsection
This is not only convenient, but also a subsection testcase :^)
2023-01-02 06:15:13 -07:00

883 B

Name

GML Frame Widget

Description

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

Synopsis

@GUI::Frame

Examples

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

Registered Properties

Property Type Possible values Description
thickness integer 64-bit integer Sets the thickness
shadow enum Plain, Raised, Sunken Sets the shadow
shape enum NoFrame, Box, Container, Panel, VerticalLine, HorizontalLine Sets the shape