diff --git a/src/drivers/Qt/PaletteConf.cpp b/src/drivers/Qt/PaletteConf.cpp index 34621171..9d3d718a 100644 --- a/src/drivers/Qt/PaletteConf.cpp +++ b/src/drivers/Qt/PaletteConf.cpp @@ -67,7 +67,7 @@ PaletteConfDialog_t::PaletteConfDialog_t(QWidget *parent) style = this->style(); - resize(512, 600); + resize(512, 512); // sync with config g_config->getOption("SDL.Hue", &hue); @@ -268,6 +268,10 @@ PaletteConfDialog_t::PaletteConfDialog_t(QWidget *parent) comments->moveCursor(QTextCursor::Start); comments->setReadOnly(true); + QFont font = comments->currentFont(); + QFontMetrics metrics(font); + comments->setMinimumHeight( 7 * metrics.lineSpacing() ); + mainLayout->addWidget(comments); closeButton = new QPushButton( tr("Close") );