commit 952d08b299f5630443b60a9b22338f36a7e8d7c7
parent 8fd20e77adcfda1f56852f46e5bd0db66a329421
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 4 Jun 2017 15:58:01 -0400
manager: make the window bigger by default
Diffstat:
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/manager.cpp b/src/manager.cpp
@@ -58,6 +58,7 @@ Manager::Manager(ReaPack *reapack)
void Manager::onInit()
{
Dialog::onInit();
+ setMinimumSize({629, 210});
m_apply = getControl(IDAPPLY);
disable(m_apply);
diff --git a/src/resource.rc b/src/resource.rc
@@ -25,7 +25,7 @@ BEGIN
DEFPUSHBUTTON "&OK", IDOK, 115, 240, 50, 14
END
-IDD_CONFIG_DIALOG DIALOGEX 0, 0, 370, 210
+IDD_CONFIG_DIALOG DIALOGEX 0, 0, 370, 240
STYLE DIALOG_STYLE | WS_THICKFRAME
FONT DIALOG_FONT
CAPTION "ReaPack Configuration"
@@ -33,13 +33,13 @@ BEGIN
LTEXT "The repositories enabled in this list are used to populate the package list:",
IDC_LABEL, 5, 5, 360, 10
CONTROL "", IDC_LIST, WC_LISTVIEW, LVS_REPORT | LVS_SHOWSELALWAYS |
- WS_BORDER | WS_TABSTOP, 5, 18, 360, 170
- PUSHBUTTON "&Browse packages", IDC_BROWSE, 5, 191, 75, 14
- PUSHBUTTON "&Import/export...", IDC_IMPORT, 83, 191, 65, 14
- PUSHBUTTON "&Options...", IDC_OPTIONS, 151, 191, 45, 14
- DEFPUSHBUTTON "&OK", IDOK, 238, 191, 40, 14
- PUSHBUTTON "&Cancel", IDCANCEL, 281, 191, 40, 14
- PUSHBUTTON "&Apply", IDAPPLY, 324, 191, 40, 14
+ WS_BORDER | WS_TABSTOP, 5, 18, 360, 200
+ PUSHBUTTON "&Browse packages", IDC_BROWSE, 5, 221, 75, 14
+ PUSHBUTTON "&Import/export...", IDC_IMPORT, 83, 221, 65, 14
+ PUSHBUTTON "&Options...", IDC_OPTIONS, 151, 221, 45, 14
+ DEFPUSHBUTTON "&OK", IDOK, 238, 221, 40, 14
+ PUSHBUTTON "&Cancel", IDCANCEL, 281, 221, 40, 14
+ PUSHBUTTON "&Apply", IDAPPLY, 324, 221, 40, 14
END
IDD_ABOUT_DIALOG DIALOGEX 0, 0, 460, 267