mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 21:02:04 +08:00
添加界面组件间的分隔线方便识别
顺便增加了DVL(DivideLine)色
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "spkui_general.h"
|
||||
#include "spktitlebar.h"
|
||||
|
||||
SpkTitleBar::SpkTitleBar(QWidget *parent) : QWidget(parent)
|
||||
SpkTitleBar::SpkTitleBar(QWidget *parent) : QFrame(parent)
|
||||
{
|
||||
mLinkedWindow = nullptr;
|
||||
|
||||
@@ -39,7 +39,7 @@ SpkTitleBar::SpkTitleBar(QWidget *parent) : QWidget(parent)
|
||||
mBtnMaxRestore->SetRole(OperationButton::MaximizeRestore);
|
||||
mBtnClose->SetRole(OperationButton::Close);
|
||||
|
||||
mMainLayout->setContentsMargins(0, 0, 0, 0);
|
||||
mMainLayout->setContentsMargins(0, 0, 0, 1);
|
||||
|
||||
setLayout(mMainLayout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user