mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
[VDE] A stab at things
Took 14 minutes Took 10 minutes Took 5 minutes Took 4 minutes Took 41 seconds Took 10 minutes Took 3 minutes
This commit is contained in:
parent
a4eef648bc
commit
38e73486c1
3 changed files with 40 additions and 0 deletions
|
|
@ -180,6 +180,14 @@ void VisualDeckEditorWidget::initializeScrollAreaAndZoneContainer()
|
|||
|
||||
zoneContainer = new QWidget(scrollArea);
|
||||
zoneContainer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||
zoneContainer->setObjectName("zoneContainer");
|
||||
zoneContainer->setStyleSheet(R"(
|
||||
QWidget#zoneContainer {
|
||||
background-image: url(theme:backgrounds/card_triplet.svg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
)");
|
||||
zoneContainerLayout = new QVBoxLayout(zoneContainer);
|
||||
zoneContainer->setLayout(zoneContainerLayout);
|
||||
scrollArea->addScrollBarWidget(zoneContainer, Qt::AlignHCenter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue