From 094b017aa12e87d8de2c7e38239915dce38d7857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sun, 3 Oct 2021 12:34:35 +0200 Subject: [PATCH] Fix tool large display in SearchBanner --- src/view/SearchBanner.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/view/SearchBanner.cpp b/src/view/SearchBanner.cpp index 677991d..249ac52 100644 --- a/src/view/SearchBanner.cpp +++ b/src/view/SearchBanner.cpp @@ -143,6 +143,15 @@ SearchBanner::SearchBanner(KissCount* kiss, QFrame *parent, void* caller, OnButt _category->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::MinimumExpanding); _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++) gridBagSizer->setColumnStretch(i, 1);