2023-09-28 18:06:49 +03:00
|
|
|
@GamesSettings::CardSettingsWidget {
|
2022-08-20 16:14:48 +03:00
|
|
|
fill_with_background_color: true
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
margins: [8]
|
|
|
|
}
|
|
|
|
|
2023-02-01 16:29:07 +03:00
|
|
|
@GamesSettings::CardGamePreview {
|
2022-08-21 18:07:46 +03:00
|
|
|
name: "cards_preview"
|
|
|
|
fill_with_background_color: true
|
2023-01-12 23:07:47 +03:00
|
|
|
fixed_height: 160
|
2022-08-21 18:07:46 +03:00
|
|
|
}
|
|
|
|
|
2022-08-20 16:14:48 +03:00
|
|
|
@GUI::GroupBox {
|
2023-05-22 20:07:09 +03:00
|
|
|
title: "Background color"
|
2022-08-20 16:14:48 +03:00
|
|
|
max_height: "shrink"
|
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
margins: [8]
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::ColorInput {
|
|
|
|
name: "cards_background_color"
|
2023-09-28 18:06:49 +03:00
|
|
|
color_has_alpha_channel: false
|
2022-08-20 16:14:48 +03:00
|
|
|
}
|
|
|
|
}
|
2022-08-21 18:02:56 +03:00
|
|
|
|
|
|
|
@GUI::GroupBox {
|
2023-10-03 19:06:54 +03:00
|
|
|
title: "Cards"
|
2022-08-21 18:02:56 +03:00
|
|
|
layout: @GUI::VerticalBoxLayout {
|
|
|
|
margins: [8]
|
|
|
|
}
|
|
|
|
|
2023-10-03 19:06:54 +03:00
|
|
|
@GUI::Widget {
|
|
|
|
max_height: "shrink"
|
|
|
|
layout: @GUI::HorizontalBoxLayout {
|
|
|
|
margins: [0]
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Card fronts:"
|
|
|
|
text_alignment: "CenterLeft"
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::ComboBox {
|
|
|
|
name: "cards_front_image_set"
|
2023-09-28 18:06:49 +03:00
|
|
|
only_allow_values_from_model: true
|
2023-10-03 19:06:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@GUI::Label {
|
|
|
|
text: "Card backs:"
|
|
|
|
text_alignment: "CenterLeft"
|
|
|
|
}
|
|
|
|
|
2022-08-21 18:02:56 +03:00
|
|
|
@GUI::IconView {
|
|
|
|
name: "cards_back_image"
|
|
|
|
}
|
|
|
|
}
|
2022-08-20 16:14:48 +03:00
|
|
|
}
|