mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
e26548989a
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
64 lines
1.5 KiB
Text
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"
|
|
}
|
|
}
|
|
}
|