From aaa766a659f1007d4649c339ee95b2c53a54967a Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 20 Mar 2018 17:10:25 +0000 Subject: [PATCH] make sure we do not get a too long horizontal scroll bar --- src/connectdlg.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/connectdlg.cpp b/src/connectdlg.cpp index 2ee306d9..b9d791a7 100755 --- a/src/connectdlg.cpp +++ b/src/connectdlg.cpp @@ -88,9 +88,13 @@ CConnectDlg::CConnectDlg ( const bool bNewShowCompleteRegList, lvwServers->setColumnWidth ( 0, 180 ); lvwServers->setColumnWidth ( 1, 65 ); lvwServers->setColumnWidth ( 2, 60 ); + lvwServers->setColumnWidth ( 3, 220 ); #endif lvwServers->clear(); + // make sure we do not get a too long horizontal scroll bar + lvwServers->header()->setStretchLastSection ( false ); + // add invisible columns which are used for sorting the list and storing // the current/maximum number of clients // 0: server name