mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
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:
parent
1f280805a9
commit
ac71d8bf0d
@ -90,6 +90,7 @@ ModuleWidget::~ModuleWidget()
|
||||
|
||||
void ModuleWidget::initUI()
|
||||
{
|
||||
setBackgroundRole(QPalette::Base);
|
||||
setFrameShape(QFrame::NoFrame);
|
||||
setWidgetResizable(true);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
|
Loading…
x
Reference in New Issue
Block a user