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

GameOfLife: Auto-size toolbar labels

This commit is contained in:
Linus Groh 2021-05-16 21:36:40 +01:00 committed by Andreas Kling
parent 9a3f62adc7
commit e7dc0bdba3

View file

@ -8,8 +8,8 @@
name: "toolbar" name: "toolbar"
@GUI::Label { @GUI::Label {
text: "Columns:" text: "Columns: "
fixed_width: 60 autosize: true
} }
@GUI::SpinBox { @GUI::SpinBox {
@ -18,11 +18,13 @@
max: 999 max: 999
fixed_width: 40 fixed_width: 40
} }
@GUI::VerticalSeparator { @GUI::VerticalSeparator {
} }
@GUI::Label { @GUI::Label {
text: "Rows:" text: "Rows: "
fixed_width: 40 autosize: true
} }
@GUI::SpinBox { @GUI::SpinBox {
@ -31,12 +33,15 @@
max: 999 max: 999
fixed_width: 40 fixed_width: 40
} }
@GUI::VerticalSeparator { @GUI::VerticalSeparator {
} }
@GUI::Label { @GUI::Label {
text: "Update Speed:" text: "Update Speed: "
fixed_width: 90 autosize: true
} }
@GUI::SpinBox { @GUI::SpinBox {
name: "interval_spinbox" name: "interval_spinbox"
min: 10 min: 10