fix: 修复个性化插件页面背景色和其他页面背景色不一致的问题

应该默认是QWidget类型对应的偏白色的背景色,当前用的是滚动区域的背景色

Log:
Task: https://pms.uniontech.com/zentao/task-view-91478.html
Bug: https://pms.uniontech.com/zentao/bug-view-103058.html
Influence: 控制中心-个性化-任务栏  页面背景色和其他页面背景色保持一致
Change-Id: I09755d19dd09ead135137838c9620db7009d1f49
This commit is contained in:
范朋程 2021-11-15 10:50:08 +08:00 committed by fanpengcheng
parent 1f280805a9
commit ac71d8bf0d

View File

@ -90,6 +90,7 @@ ModuleWidget::~ModuleWidget()
void ModuleWidget::initUI()
{
setBackgroundRole(QPalette::Base);
setFrameShape(QFrame::NoFrame);
setWidgetResizable(true);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);