1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 19:57:36 +00:00
serenity/Userland/Applications/GamesSettings/ChessSettingsWidget.gml
Sam Atkins 05913b853a GamesSettings: Add chess settings :^)
This adds a tab for configuring the appearance of Chess, along with a
preview.
2023-02-02 14:52:21 +01:00

58 lines
1.3 KiB
Text

@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [8]
}
@GamesSettings::ChessGamePreview {
name: "chess_preview"
fill_with_background_color: true
fixed_height: 160
}
@GUI::GroupBox {
title: "Appearance"
max_height: "shrink"
layout: @GUI::VerticalBoxLayout {
margins: [8]
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
@GUI::Label {
text: "Piece Set:"
text_alignment: "CenterLeft"
}
@GUI::ComboBox {
name: "piece_set"
model_only: true
}
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
@GUI::Label {
text: "Board Theme:"
text_alignment: "CenterLeft"
}
@GUI::ComboBox {
name: "board_theme"
model_only: true
}
}
@GUI::CheckBox {
name: "show_coordinates"
text: "Show coordinates"
checkbox_position: "Right"
}
}
}