mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
optimize ui
Change-Id: I39694ca7a259d1b4adc47e8548f2c398457e26cc
This commit is contained in:
parent
73b4873f4f
commit
8754639364
Notes:
Deepin Code Review
2016-08-09 06:54:31 +00:00
Verified+1: Anonymous Coward #1000004 Code-Review+2: 石博文 <sbw@sbw.so> Submitted-by: 石博文 <sbw@sbw.so> Submitted-at: Tue, 09 Aug 2016 06:54:31 +0000 Reviewed-on: https://cr.deepin.io/15029 Project: dde/dde-dock Branch: refs/heads/master
@ -41,7 +41,7 @@ DiskControlItem::DiskControlItem(const DiskInfo &info, QWidget *parent)
|
||||
infoLayout->addWidget(m_diskName);
|
||||
infoLayout->addWidget(m_diskCapacity);
|
||||
infoLayout->setSpacing(0);
|
||||
infoLayout->setContentsMargins(3, 7, 0, 7);
|
||||
infoLayout->setContentsMargins(3, 4, 0, 8);
|
||||
|
||||
QHBoxLayout *unmountLayout = new QHBoxLayout;
|
||||
unmountLayout->addLayout(infoLayout);
|
||||
@ -53,7 +53,7 @@ DiskControlItem::DiskControlItem(const DiskInfo &info, QWidget *parent)
|
||||
progressLayout->addLayout(unmountLayout);
|
||||
progressLayout->addWidget(m_capacityValueBar);
|
||||
progressLayout->setSpacing(0);
|
||||
progressLayout->setContentsMargins(10, 0, 0, 0);
|
||||
progressLayout->setContentsMargins(10, 0, 0, 5);
|
||||
|
||||
QHBoxLayout *centeralLayout = new QHBoxLayout;
|
||||
centeralLayout->addWidget(m_diskIcon);
|
||||
|
Loading…
x
Reference in New Issue
Block a user