Fix tool large display in SearchBanner

This commit is contained in:
Grégory Soutadé 2021-10-03 12:34:35 +02:00
parent fb65e585b3
commit 094b017aa1

View File

@ -143,6 +143,15 @@ SearchBanner::SearchBanner(KissCount* kiss, QFrame *parent, void* caller, OnButt
_category->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding); _category->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
_category->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents); _category->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
_tag->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
_tag->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
_optype->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
_optype->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
_account->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding);
_account->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
for(i=0; i<=8; i++) for(i=0; i<=8; i++)
gridBagSizer->setColumnStretch(i, 1); gridBagSizer->setColumnStretch(i, 1);