mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
make right sizes of filter dock dialog
This commit is contained in:
parent
1365aea862
commit
82e8706d2f
@ -81,6 +81,14 @@ FilterDockDialog::FilterDockDialog(
|
||||
ui->previewCheckBox->setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
//horrible hack to make the window of almost the right size...
|
||||
ui->filterInfoLabel->adjustSize();
|
||||
ui->parameterFrame->adjustSize();
|
||||
resize(
|
||||
width(),
|
||||
ui->filterInfoLabel->height() + ui->parameterFrame->height() +
|
||||
ui->previewCheckBox->height() + ui->applyPushButton->height() * 2 + 10);
|
||||
}
|
||||
|
||||
FilterDockDialog::~FilterDockDialog()
|
||||
|
||||
@ -43,6 +43,9 @@
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Plain</enum>
|
||||
</property>
|
||||
<property name="sizeAdjustPolicy">
|
||||
<enum>QAbstractScrollArea::AdjustToContentsOnFirstShow</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user