mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
Fix incremental width of sound plugin tips label
Change-Id: I000aea1d97a85d251c913b05cce260530400d640
This commit is contained in:
parent
b9f396eef4
commit
f3cc3452de
Notes:
Deepin Code Review
2017-06-23 14:15:40 +08:00
Code-Review+1: 石博文 <sbw@sbw.so> Verified+1: Anonymous Coward #1000004 Verified+1: <zhaofangfang@linuxdeepin.com> Code-Review+2: Hualet Wang <mr.asianwang@gmail.com> Submitted-by: Hualet Wang <mr.asianwang@gmail.com> Submitted-at: Fri, 23 Jun 2017 14:15:38 +0800 Reviewed-on: https://cr.deepin.io/23994 Project: dde/dde-dock Branch: refs/heads/master
@ -35,7 +35,8 @@ QWidget *SoundItem::tipsWidget()
|
||||
{
|
||||
refershTips(true);
|
||||
|
||||
m_tipsLabel->setFixedWidth(m_tipsLabel->sizeHint().width() + 10);
|
||||
m_tipsLabel->resize(m_tipsLabel->sizeHint().width() + 10,
|
||||
m_tipsLabel->sizeHint().height());
|
||||
|
||||
return m_tipsLabel;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user