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:
parent
9a3f62adc7
commit
e7dc0bdba3
1 changed files with 11 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue