mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix the layout on the Print Dialog
The layout was a hardcoded position without layouts, that would only work on english language since other languages can have bigger strings than the current ones. Also removed the 'setFixedSize' stuff and let the widget find it's best size for itself. Fixes #656 Fixes #396 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
116608201d
commit
0416a09a1e
2 changed files with 166 additions and 210 deletions
|
@ -57,7 +57,6 @@ PrintDialog::PrintDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
|
|||
|
||||
hLayout->addWidget(buttonBox);
|
||||
|
||||
setFixedSize(550, 400);
|
||||
setWindowTitle(tr("Print"));
|
||||
setWindowIcon(QIcon(":subsurface-icon"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue