From ef6064b9b5654c6a67b35cb3283b645fa512b678 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 3 Jan 2015 07:32:04 -0800 Subject: [PATCH] UI: Always hide VScrollArea horizontal scroll bar There appears to be a bug with displaying the vertical scroll bar widget where the horizontal scroll bar will show when it's not supposed to. Fortunately it can be completely disabled. --- obs/vertical-scroll-area.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/obs/vertical-scroll-area.hpp b/obs/vertical-scroll-area.hpp index 73ab1bbc6..15fc72a2b 100644 --- a/obs/vertical-scroll-area.hpp +++ b/obs/vertical-scroll-area.hpp @@ -11,6 +11,7 @@ public: inline VScrollArea(QWidget *parent = nullptr) : QScrollArea(parent) { + setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); } protected: