make sure we do not get a too long horizontal scroll bar

This commit is contained in:
Volker Fischer 2018-03-20 17:10:25 +00:00
parent 54a4493787
commit aaa766a659

View File

@ -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