mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: 任务栏飞行模式插件UI优化
优化窗口大小,减小宽度,增加高度 Log: 优化窗口 Influence: UI Task: https://pms.uniontech.com/bug-view-147155.html Change-Id: Ic44a1ef029bd0b67ee088a65a38a0823eedb1bf3
This commit is contained in:
parent
e7a7cf57b3
commit
459bc92e00
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user