]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SearchBox: Add topMargin to balance the spacing
authorIsmael Asensio <isma.af@gmail.com>
Wed, 4 May 2022 18:30:01 +0000 (20:30 +0200)
committerNate Graham <nate@kde.org>
Fri, 6 May 2022 20:10:04 +0000 (20:10 +0000)
src/search/dolphinsearchbox.cpp

index 860d9f6cd5d31b935e9073b5be77cc329b0217e0..022fabfa454b6ab112733b3af8b2cd0c4a771ee0 100644 (file)
@@ -440,7 +440,7 @@ void DolphinSearchBox::init()
     m_optionsScrollArea->setWidgetResizable(true);
 
     m_topLayout = new QVBoxLayout(this);
-    m_topLayout->setContentsMargins(0, 0, 0, 0);
+    m_topLayout->setContentsMargins(0, Dolphin::LAYOUT_SPACING_SMALL, 0, 0);
     m_topLayout->setSpacing(Dolphin::LAYOUT_SPACING_SMALL);
     m_topLayout->addLayout(searchInputLayout);
     m_topLayout->addWidget(m_optionsScrollArea);