aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorq5sys <jt@obs-sec.com>2017-08-04 13:12:46 -0400
committerq5sys <jt@obs-sec.com>2017-08-04 13:12:46 -0400
commit560a35578032174163cdf99bdd7ea5b7a1da137a (patch)
tree0aac7d3d378f3ace2f308ba89fbec7168fa40648 /src-qt5/core
parentSetup the Lumina 1.x desktop to use the new theme engine by default (diff)
downloadlumina-560a35578032174163cdf99bdd7ea5b7a1da137a.tar.gz
lumina-560a35578032174163cdf99bdd7ea5b7a1da137a.tar.bz2
lumina-560a35578032174163cdf99bdd7ea5b7a1da137a.zip
fix for clock minimum width
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-desktop/panel-plugins/clock/LClock.cpp2
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
bgstack15