replace fixed size of criteria in log tab (#4515)
it's now a max size with expanding policy, looks fine I guess fixes #4510
This commit is contained in:
parent
7903cd520a
commit
f6634de18d
1 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,6 @@ void TabLog::clearClicked()
|
||||||
|
|
||||||
void TabLog::createDock()
|
void TabLog::createDock()
|
||||||
{
|
{
|
||||||
|
|
||||||
labelFindUserName = new QLabel(tr("Username: "));
|
labelFindUserName = new QLabel(tr("Username: "));
|
||||||
findUsername = new LineEditUnfocusable("");
|
findUsername = new LineEditUnfocusable("");
|
||||||
findUsername->setAlignment(Qt::AlignCenter);
|
findUsername->setAlignment(Qt::AlignCenter);
|
||||||
|
@ -202,7 +201,8 @@ void TabLog::createDock()
|
||||||
|
|
||||||
criteriaGroupBox = new QGroupBox(tr("Filters"));
|
criteriaGroupBox = new QGroupBox(tr("Filters"));
|
||||||
criteriaGroupBox->setLayout(criteriaGrid);
|
criteriaGroupBox->setLayout(criteriaGrid);
|
||||||
criteriaGroupBox->setFixedSize(500, 300);
|
criteriaGroupBox->setMaximumSize(500, 300);
|
||||||
|
criteriaGroupBox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
|
||||||
|
|
||||||
locationGrid = new QGridLayout;
|
locationGrid = new QGridLayout;
|
||||||
locationGrid->addWidget(mainRoom, 0, 0);
|
locationGrid->addWidget(mainRoom, 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue