reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 67f70eea1f65569d1c79f71097211148e0dab6b9
parent 1c20682c4c1328c3d9d4e5f9f8526c85f6272ab0
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Tue, 19 Jan 2016 17:28:09 -0800

tweak the configuration dialog's column sizes

Diffstat:
Msrc/manager.cpp | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/manager.cpp b/src/manager.cpp @@ -42,9 +42,16 @@ Manager::~Manager() void Manager::onInit() { + // It would be better to not hard-code the column sizes like that... +#ifndef _WIN32 + const int URL_WIDTH = 360; +#else + const int URL_WIDTH = 300; +#endif + m_list = new ListView({ - {AUTO_STR("Name"), 100}, - {AUTO_STR("URL"), 360}, + {AUTO_STR("Name"), 110}, + {AUTO_STR("URL"), URL_WIDTH}, {AUTO_STR("State"), 60}, }, getItem(IDC_LIST)); }