mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
remove resizeevent trigger
This commit is contained in:
parent
5e0026cd06
commit
001d154b95
1 changed files with 0 additions and 3 deletions
|
|
@ -39,9 +39,6 @@ CardInfoTextWidget::CardInfoTextWidget(QWidget *parent) : QFrame(parent), info(n
|
||||||
grid->setRowStretch(1, 1);
|
grid->setRowStretch(1, 1);
|
||||||
|
|
||||||
retranslateUi();
|
retranslateUi();
|
||||||
|
|
||||||
connect(this, &CardInfoTextWidget::resizeEvent, this,
|
|
||||||
[this]() { propsScroll->setMaximumHeight(propsLabel->sizeHint().height()); });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardInfoTextWidget::setTexts(const QString &propsText, const QString &textText)
|
void CardInfoTextWidget::setTexts(const QString &propsText, const QString &textText)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue