┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinfacetswidget.cpp
diff options
context:
space:
mode:
authorIsmael Asensio <[email protected]>2019-11-07 01:34:19 +0100
committerIsmael Asensio <[email protected]>2019-11-07 01:51:25 +0100
commit7949aee2d2528fb3adfc83d43799f1566e835466 (patch)
tree20237fce2ee1eafa50f01d3f89f6d7709b8418a0 /src/search/dolphinfacetswidget.cpp
parent54bd267eb96de135d2bf4cb91c6a16dffa0b012a (diff)
Make the search box more compact
Summary: Reduce the spacing between widgets and remove the content margins on the extended search options to have a more compact and space-saving layout. Currently, some widgets are not even aligned. This will be even more important if we remove the toggle button for 'More Options'. CCBUG: 386754 Test Plan: BEFORE: {F7681182} AFTER: {F7681184} Reviewers: elvisangelaccio, ngraham, #dolphin, #vdg Reviewed By: elvisangelaccio, ngraham, #dolphin, #vdg Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D25028
Diffstat (limited to 'src/search/dolphinfacetswidget.cpp')
-rw-r--r--src/search/dolphinfacetswidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search/dolphinfacetswidget.cpp b/src/search/dolphinfacetswidget.cpp
index 1b87e7c3d..182719225 100644
--- a/src/search/dolphinfacetswidget.cpp
+++ b/src/search/dolphinfacetswidget.cpp
@@ -64,6 +64,7 @@ DolphinFacetsWidget::DolphinFacetsWidget(QWidget* parent) :
initComboBox(m_ratingSelector);
QHBoxLayout* topLayout = new QHBoxLayout(this);
+ topLayout->setContentsMargins(0, 0, 0, 0);
topLayout->addWidget(m_typeSelector);
topLayout->addWidget(m_dateSelector);
topLayout->addWidget(m_ratingSelector);