diff --git a/ChangeLog.txt b/ChangeLog.txt index 02bb6efef..c440305bb 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,5 @@ # Version 0.5.0 +- [#479] Preferences dialog size is now saved between the sessions in Valentina and Tape app - [#479] Preferences dialog is now extendable and when it is opened again, it will be resized to its previous size. - [#193] Undeletable zombie arc objects. - New feature. Groups. diff --git a/src/app/tape/dialogs/tapeconfigdialog.cpp b/src/app/tape/dialogs/tapeconfigdialog.cpp index 7f9c27b42..cf60198e1 100644 --- a/src/app/tape/dialogs/tapeconfigdialog.cpp +++ b/src/app/tape/dialogs/tapeconfigdialog.cpp @@ -89,11 +89,12 @@ TapeConfigDialog::TapeConfigDialog(QWidget *parent) QVBoxLayout *mainLayout = new QVBoxLayout; mainLayout->addLayout(horizontalLayout); - mainLayout->addStretch(1); mainLayout->addSpacing(12); mainLayout->addLayout(buttonsLayout); setLayout(mainLayout); + mainLayout->setStretch(0, 1); + setWindowTitle(tr("Config Dialog")); qApp->TapeSettings()->GetOsSeparator() ? setLocale(QLocale::system()) : setLocale(QLocale(QLocale::C));