diff options
author | q5sys <jt@obs-sec.com> | 2017-08-04 13:12:46 -0400 |
---|---|---|
committer | q5sys <jt@obs-sec.com> | 2017-08-04 13:12:46 -0400 |
commit | 560a35578032174163cdf99bdd7ea5b7a1da137a (patch) | |
tree | 0aac7d3d378f3ace2f308ba89fbec7168fa40648 /src-qt5/core/lumina-desktop | |
parent | Setup the Lumina 1.x desktop to use the new theme engine by default (diff) | |
download | lumina-560a35578032174163cdf99bdd7ea5b7a1da137a.tar.gz lumina-560a35578032174163cdf99bdd7ea5b7a1da137a.tar.bz2 lumina-560a35578032174163cdf99bdd7ea5b7a1da137a.zip |
fix for clock minimum width
Diffstat (limited to 'src-qt5/core/lumina-desktop')
-rw-r--r-- | src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp b/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp index bdf9b27e..db661841 100644 --- a/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp +++ b/src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp @@ -102,7 +102,7 @@ void LClock::updateTime(bool adjustformat){ lwid = metrics.width(lines[i]); if(lwid>wid){ wid = lwid; } } - this->setMinimumWidth( wid - (4*metrics.width("O")) ); + this->setMinimumWidth(wid); this->setMaximumWidth(wid + (4*metrics.width("O"))); }else{ //vertical layout |