mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
update VToolBox's margin
This commit is contained in:
parent
61713915b5
commit
25e79b66b1
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user