mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:27:35 +00:00
58 lines
1.2 KiB
Text
58 lines
1.2 KiB
Text
@GUI::Frame {
|
|
fill_with_background_color: true
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [8]
|
|
}
|
|
|
|
@GamesSettings::CardGamePreview {
|
|
name: "cards_preview"
|
|
fill_with_background_color: true
|
|
fixed_height: 160
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
title: "Background color"
|
|
max_height: "shrink"
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [8]
|
|
}
|
|
|
|
@GUI::ColorInput {
|
|
name: "cards_background_color"
|
|
has_alpha_channel: false
|
|
}
|
|
}
|
|
|
|
@GUI::GroupBox {
|
|
title: "Cards"
|
|
layout: @GUI::VerticalBoxLayout {
|
|
margins: [8]
|
|
}
|
|
|
|
@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"
|
|
model_only: true
|
|
}
|
|
}
|
|
|
|
@GUI::Label {
|
|
text: "Card backs:"
|
|
text_alignment: "CenterLeft"
|
|
}
|
|
|
|
@GUI::IconView {
|
|
name: "cards_back_image"
|
|
}
|
|
}
|
|
}
|