From 24a7294a38d59d1b8eaed26bb9ed6c7ceb8f627d Mon Sep 17 00:00:00 2001 From: BojanKverh Date: Fri, 10 Jun 2016 21:57:47 +0200 Subject: [PATCH] Made the preferences dialog in Tape look a bit better with resizeable left column --HG-- branch : feature --- ChangeLog.txt | 1 + src/app/tape/dialogs/tapeconfigdialog.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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));