From dc271c07e121b54efedd03edc72fae2c616938cc Mon Sep 17 00:00:00 2001 From: Piers Shepperson Date: Tue, 27 Feb 2018 16:52:27 +0000 Subject: [PATCH] Hide horizontal scroll bar --- src/CredentialView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CredentialView.cpp b/src/CredentialView.cpp index 308f115b..9244442f 100644 --- a/src/CredentialView.cpp +++ b/src/CredentialView.cpp @@ -32,6 +32,7 @@ CredentialView::CredentialView(QWidget *parent) : QTreeView(parent) setMinimumWidth(430); connect(this, &CredentialView::clicked, this, &CredentialView::onToggleExpandedState); header()->setStyleSheet(CSS_CREDVIEW_HEADER); + setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); } CredentialView::~CredentialView()