ladybird/Base/usr/share/man/man5/GML-Widget-CheckBox.md
Sam Atkins aadb35ff46 LibGUI: Add ability to position checkboxes to the right of their text
This uses the new `checkbox_position` property, which can be "Left"
or "Right".
2022-05-21 22:25:33 +02:00

853 B

Name

GML Checkbox Widget

Description

Defines a GUI checkbox widget.

Synopsis

@GUI::CheckBox

Examples

@GUI::CheckBox {
    name: "top_checkbox"
    text: "Checkbox"
}

@GUI::CheckBox {
    name: "bottom_checkbox"
    text: "Disabled"
    enabled: false
}

Registered Properties

Property Type Possible values Description
autosize bool true or false Determines if auto-sized
checkbox_position String "Left" or "Right" Place the checkbox itself on either the left or right of its label

See also