Commit f6e9676c authored by sylvanbasilisk's avatar sylvanbasilisk
Browse files

revert cardinfowidget to its original content

reverted cardinfowidget to its original form at commit
95c6058d before i messed with
it. i didnt intend to make changes to it.
parent f77054f2
......@@ -51,9 +51,8 @@ CardInfoWidget::CardInfoWidget(ResizeMode _mode, const QString &cardName, QWidge
textLabel->setReadOnly(true);
QGridLayout *grid = new QGridLayout(this);
if (mode == ModeGameTab) {
int row = 0;
if (mode == ModeGameTab)
grid->addWidget(dropList, row++, 1, 1, 1, Qt::AlignRight);
grid->addWidget(cardPicture, row++, 0, 1, 2);
grid->addWidget(nameLabel1, row, 0);
......@@ -69,7 +68,6 @@ CardInfoWidget::CardInfoWidget(ResizeMode _mode, const QString &cardName, QWidge
grid->addWidget(textLabel, row, 0, -1, 2);
grid->setRowStretch(row, 1);
grid->setColumnStretch(1, 1);
}
retranslateUi();
setFrameStyle(QFrame::Panel | QFrame::Raised);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment