update background qss settings

Change-Id: I3271fbae45f00bc11fc14562d0a47153885afb66
This commit is contained in:
杨万青 2015-10-12 13:53:05 +08:00
parent 6b6f582162
commit 215fa10b85
Notes: Deepin Code Review 2016-06-14 07:19:47 +00:00
Verified+1: Anonymous Coward #1000004
Code-Review+2: <yangwanqing@linuxdeepin.com>
Submitted-by: <yangwanqing@linuxdeepin.com>
Submitted-at: Mon, 12 Oct 2015 13:49:15 +0800
Reviewed-on: https://cr.deepin.io/7682
Project: dde/dde-dock
Branch: refs/heads/master
2 changed files with 2 additions and 4 deletions

View File

@ -3,9 +3,8 @@ QLabel#Panel[isFashionMode="false"] {
}
QLabel#Panel[isFashionMode="true"] {
border-width: 0px 21px 52px 21px;
border-image: url(:/images/resources/dark/images/dark_dock.svg) 0 21 52 21 stretch;
border-width: 0px 21px 49px 21px;
border-image: url(:/images/resources/dark/images/dark_dock.svg) 0 21 49 21 stretch;
}
QLabel#DockAppTitle {

View File

@ -48,7 +48,6 @@ void MainWidget::updatePosition()
this->move((rec.width() - width()) / 2, rec.height() - 1);//1 pixel for grab mouse enter event to show panel
}
else {
this->setFixedSize(m_mainPanel->width(), m_dmd->getDockHeight());
this->move((rec.width() - width()) / 2, rec.height() - this->height());
}