From ae831c6560eea2370ceb312b5f6e2d51d9b61f5f Mon Sep 17 00:00:00 2001 From: donghualin Date: Thu, 11 Nov 2021 16:30:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=B7=B2=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E8=93=9D=E7=89=99=E7=9A=84=E5=AF=B9=E5=8B=BE=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整StateButton的parentWidget的大小,适应右侧的距离 Log: 优化蓝牙显示 Influence: 任务栏-蓝牙列表-对勾 Bug: https://pms.uniontech.com/zentao/bug-view-81641.html Change-Id: Idefe990b74f4c3e2381b8fcafa86f12800a95655 --- plugins/bluetooth/componments/bluetoothadapteritem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bluetooth/componments/bluetoothadapteritem.cpp b/plugins/bluetooth/componments/bluetoothadapteritem.cpp index 23d6ce80b..f59381e19 100644 --- a/plugins/bluetooth/componments/bluetoothadapteritem.cpp +++ b/plugins/bluetooth/componments/bluetoothadapteritem.cpp @@ -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);