From d9fac1e78170dc30e141f9ca9deff3582a9dc837 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 11 Dec 2008 23:04:05 -0500 Subject: [PATCH] Minor GUI update - Better center the applet when using the oxygen theme. --- applet/system_monitor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/applet/system_monitor.cpp b/applet/system_monitor.cpp index e84cd90..4e66a06 100644 --- a/applet/system_monitor.cpp +++ b/applet/system_monitor.cpp @@ -335,6 +335,7 @@ void systemMonitor::paintInterface(QPainter *p, const QStyleOptionGraphicsItem * if(m_useOxygen){ rotatedContentsRect.setWidth(rotatedContentsRect.width() * 0.325); + rotatedContentsRect.moveLeft(rotatedContentsRect.left() + origWidth * 0.009); }else{ rotatedContentsRect.setWidth(rotatedContentsRect.width() * 0.33); } -- 2.11.4.GIT