1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:27:35 +00:00

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".
This commit is contained in:
Sam Atkins 2022-05-09 19:20:35 +01:00 committed by Andreas Kling
parent 0ef3c15822
commit aadb35ff46
3 changed files with 21 additions and 4 deletions

View file

@ -27,9 +27,10 @@ Defines a GUI checkbox widget.
## Registered Properties
| Property | Type | Possible values | Description |
|----------|------|-----------------|--------------------------|
| autosize | bool | true or false | Determines if auto-sized |
| 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
- [GML Button](help://man/5/GML-Widget-Button)