summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 15:46:58 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 13:52:52 -0700
commitff669362fb111a5422548576db2486cc4b2b3b13 (patch)
tree19ce3834478ed56f54fb444fa350e6542d4e4456 /qt-ui/simplewidgets.cpp
parentc47972a18912ae306b072b7d6348d99c1b8a6637 (diff)
downloadsubsurface-ff669362fb111a5422548576db2486cc4b2b3b13.tar.gz
Fix spacing in the layout of the MultiFilter
default is 8, setted to zero. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.cpp')
-rw-r--r--qt-ui/simplewidgets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/simplewidgets.cpp b/qt-ui/simplewidgets.cpp
index a5ad49923..710d0c3a7 100644
--- a/qt-ui/simplewidgets.cpp
+++ b/qt-ui/simplewidgets.cpp
@@ -484,7 +484,8 @@ MultiFilter::MultiFilter(QWidget *parent): QScrollArea(parent)
QHBoxLayout *l = new QHBoxLayout();
l->addWidget(new TagFilter());
-
+ l->setContentsMargins(0,0,0,0);
+ l->setSpacing(1);
w->setLayout(l);
w->setMinimumSize(l->count() * 150, 200);
setWidget(w);