diff --git a/src/src/filterpreviewbutton.cpp b/src/src/filterpreviewbutton.cpp index e833caf4..1583f84d 100644 --- a/src/src/filterpreviewbutton.cpp +++ b/src/src/filterpreviewbutton.cpp @@ -16,7 +16,7 @@ extern "C" { DWIDGET_USE_NAMESPACE; -#define MARGIN 5 +#define MARGIN 6 #define IMAGE_SIZE 40 #define BUTTON_SIZE (IMAGE_SIZE + MARGIN * 2) diff --git a/src/src/takephotosettingareawidget.cpp b/src/src/takephotosettingareawidget.cpp index f90dd631..8465890a 100644 --- a/src/src/takephotosettingareawidget.cpp +++ b/src/src/takephotosettingareawidget.cpp @@ -152,7 +152,7 @@ void takePhotoSettingAreaWidget::initButtons() m_scrollAreaWidget->setAttribute(Qt::WA_TranslucentBackground, true); QVBoxLayout *scrollLayout = new QVBoxLayout(m_scrollAreaWidget); scrollLayout->setContentsMargins(0, 0, 0, 0); - scrollLayout->setSpacing(2); + scrollLayout->setSpacing(0); m_scrollAreaWidget->setLayout(scrollLayout); m_scrollArea = new QScrollArea(this); m_scrollArea->setFrameShape(QFrame::NoFrame);