serenity/Userland/Applications/GamesSettings/ChessSettingsWidget.gml
tetektoza e26548989a GamesSettings: Port GamesSettings to GML compilation
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
2023-12-08 01:06:09 +01:00

64 lines
1.5 KiB
Text

@GamesSettings::ChessSettingsWidget {
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"
only_allow_values_from_model: true
}
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
spacing: 16
}
@GUI::Label {
text: "Board theme:"
text_alignment: "CenterLeft"
}
@GUI::ComboBox {
name: "board_theme"
only_allow_values_from_model: true
}
}
@GUI::CheckBox {
name: "show_coordinates"
text: "Show coordinates"
checkbox_position: "Right"
}
@GUI::CheckBox {
name: "highlight_checks"
text: "Highlight checks"
checkbox_position: "Right"
}
}
}