mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
Make sample hand flow widget a scrollbar one until we figure out why non-scrollbar ones don't resize correctly.
This commit is contained in:
parent
1d259a86c1
commit
e26cb08bd8
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ VisualDeckEditorSampleHandWidget::VisualDeckEditorSampleHandWidget(QWidget *pare
|
||||||
connect(resetButton, SIGNAL(clicked()), this, SLOT(updateDisplay()));
|
connect(resetButton, SIGNAL(clicked()), this, SLOT(updateDisplay()));
|
||||||
layout->addWidget(resetButton);
|
layout->addWidget(resetButton);
|
||||||
|
|
||||||
flowWidget = new FlowWidget(this, Qt::Horizontal, Qt::ScrollBarAlwaysOff, Qt::ScrollBarAlwaysOff);
|
flowWidget = new FlowWidget(this, Qt::Horizontal, Qt::ScrollBarAlwaysOff, Qt::ScrollBarAsNeeded);
|
||||||
layout->addWidget(flowWidget);
|
layout->addWidget(flowWidget);
|
||||||
|
|
||||||
for (CardInfoPtr card : getRandomCards(7)) {
|
for (CardInfoPtr card : getRandomCards(7)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue