1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:57:42 +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"
@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