mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
fix: 调整已连接蓝牙的对勾位置
调整StateButton的parentWidget的大小,适应右侧的距离 Log: 优化蓝牙显示 Influence: 任务栏-蓝牙列表-对勾 Bug: https://pms.uniontech.com/zentao/bug-view-81641.html Change-Id: Idefe990b74f4c3e2381b8fcafa86f12800a95655
This commit is contained in:
parent
55c865ba94
commit
ae831c6560
@ -74,7 +74,7 @@ void BluetoothDeviceItem::initActionList()
|
||||
m_connButton->setType(StateButton::Check);
|
||||
m_connButton->setSwitchFork(false);
|
||||
m_connButton->setFixedSize(16, 16);
|
||||
m_iconWidget->setFixedSize(20, 16);
|
||||
m_iconWidget->setFixedSize(18, 16);
|
||||
QHBoxLayout *layout = new QHBoxLayout(m_iconWidget);
|
||||
layout->setContentsMargins(0, 0, 0, 0);
|
||||
layout->addWidget(m_connButton);
|
||||
|
Loading…
x
Reference in New Issue
Block a user