From 25e79b66b13a8af6d8317e57c15605e49d9e8b40 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Thu, 29 Nov 2018 21:43:09 +0800 Subject: [PATCH] update VToolBox's margin --- src/vtoolbox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vtoolbox.cpp b/src/vtoolbox.cpp index 7edd9e43..8e5b699e 100644 --- a/src/vtoolbox.cpp +++ b/src/vtoolbox.cpp @@ -35,8 +35,7 @@ void VToolBox::setupUI() QVBoxLayout *mainLayout = new QVBoxLayout(); mainLayout->addWidget(wid); mainLayout->addLayout(m_widgetLayout); - int margin = 2 * VUtils::calculateScaleFactor(); - mainLayout->setContentsMargins(margin, 0, margin, 0); + mainLayout->setContentsMargins(3, 0, 3, 0); setLayout(mainLayout); }