From d12426f1b07c08aa62522d20364416bb9f12e9a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matja=C5=BE=20Lamut?= Date: Fri, 16 Jun 2023 20:03:42 +0000 Subject: [PATCH] Add white space and larger default opening size of OpenMW-CS preferences window. Improves first-impression and overall readability. --- apps/opencs/view/prefs/dialogue.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/opencs/view/prefs/dialogue.cpp b/apps/opencs/view/prefs/dialogue.cpp index fe066641d1..26cb89478b 100644 --- a/apps/opencs/view/prefs/dialogue.cpp +++ b/apps/opencs/view/prefs/dialogue.cpp @@ -44,7 +44,7 @@ void CSVPrefs::Dialogue::buildCategorySelector(QSplitter* main) list->addItem(label); } - list->setMaximumWidth(maxWidth + 10); + list->setMaximumWidth(maxWidth + 50); connect(list, &ContextMenuList::currentItemChanged, this, &Dialogue::selectionChanged); } @@ -74,6 +74,8 @@ CSVPrefs::Dialogue::Dialogue() setMinimumSize(600, 400); + resize(810, 680); + QSplitter* main = new QSplitter(this); setCentralWidget(main);