ladybird/Userland/Games/GameOfLife/GameOfLife.gml
Linus Groh 7dea3d41cb GameOfLife: Use a frame as the board widget container
This adds a bit of depth and looks very nice :^)
2021-05-16 23:00:21 +02:00

70 lines
1.4 KiB
Text

@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
}
@GUI::ToolbarContainer {
@GUI::Toolbar {
name: "toolbar"
@GUI::Label {
text: "Columns: "
autosize: true
}
@GUI::SpinBox {
name: "columns_spinbox"
min: 10
max: 999
fixed_width: 40
}
@GUI::VerticalSeparator {
}
@GUI::Label {
text: "Rows: "
autosize: true
}
@GUI::SpinBox {
name: "rows_spinbox"
min: 10
max: 999
fixed_width: 40
}
@GUI::VerticalSeparator {
}
@GUI::Label {
text: "Update Speed: "
autosize: true
}
@GUI::SpinBox {
name: "interval_spinbox"
min: 10
max: 5000
fixed_width: 60
}
@GUI::Label {
text: " ms"
autosize: true
}
@GUI::VerticalSeparator {
}
}
}
@GUI::Frame {
name: "board_widget_container"
fill_with_background_color: true
}
@GUI::Statusbar {
name: "statusbar"
}
}