aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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