fix: 任务栏飞行模式插件UI优化

优化窗口大小,减小宽度,增加高度

Log: 优化窗口
Influence: UI
Task: https://pms.uniontech.com/bug-view-147155.html
Change-Id: Ic44a1ef029bd0b67ee088a65a38a0823eedb1bf3
This commit is contained in:
zengaoyuan 2022-07-11 10:22:48 +08:00 committed by wubw
parent e7a7cf57b3
commit 459bc92e00

View File

@ -34,8 +34,8 @@ AirplaneModeApplet::AirplaneModeApplet(QWidget *parent)
: QWidget(parent)
, m_switchBtn(new DSwitchButton(this))
{
setMinimumWidth(PLUGIN_ITEM_WIDTH);
setFixedHeight(30);
setMinimumWidth(PLUGIN_ITEM_WIDTH - 40);
setFixedHeight(40);
QLabel *title = new QLabel(this);
title->setText(tr("Airplane Mode"));
QHBoxLayout *appletlayout = new QHBoxLayout(this);