diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-16 21:36:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-16 23:00:21 +0200 |
commit | e7dc0bdba345c786e50f16b28e29e2d5054fe7a2 (patch) | |
tree | 2a77a885c38c54fa466b0a827e7dbfeeb4dd3411 | |
parent | 9a3f62adc793923e996e4ba43912f13658e2c253 (diff) | |
download | serenity-e7dc0bdba345c786e50f16b28e29e2d5054fe7a2.zip |
GameOfLife: Auto-size toolbar labels
-rw-r--r-- | Userland/Games/GameOfLife/GameOfLife.gml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Userland/Games/GameOfLife/GameOfLife.gml b/Userland/Games/GameOfLife/GameOfLife.gml index 4a0d0803f1..1942e60ba6 100644 --- a/Userland/Games/GameOfLife/GameOfLife.gml +++ b/Userland/Games/GameOfLife/GameOfLife.gml @@ -8,8 +8,8 @@ name: "toolbar" @GUI::Label { - text: "Columns:" - fixed_width: 60 + text: "Columns: " + autosize: true } @GUI::SpinBox { @@ -18,11 +18,13 @@ max: 999 fixed_width: 40 } + @GUI::VerticalSeparator { } + @GUI::Label { - text: "Rows:" - fixed_width: 40 + text: "Rows: " + autosize: true } @GUI::SpinBox { @@ -31,12 +33,15 @@ max: 999 fixed_width: 40 } + @GUI::VerticalSeparator { } + @GUI::Label { - text: "Update Speed:" - fixed_width: 90 + text: "Update Speed: " + autosize: true } + @GUI::SpinBox { name: "interval_spinbox" min: 10 |