[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo.pereira () free ! fr>
Date:       2010-04-30 21:58:46
Message-ID: 20100430220229.CA55FAC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1121240 by hpereiradacosta:

fixed margin for GeometryTip widget

 M  +5 -2      oxygen.cpp  


--- trunk/KDE/kdebase/workspace/kstyles/oxygen/oxygen.cpp #1121239:1121240
@@ -4221,8 +4221,11 @@
 
                 widget->setAttribute(Qt::WA_NoSystemBackground);
                 widget->setAttribute(Qt::WA_TranslucentBackground);
-                if( QFrame* frame = qobject_cast<QFrame*>( widget ) )
-                { frame->setFrameStyle( QFrame::NoFrame ); }
+                if( QLabel* label = qobject_cast<QLabel*>( widget ) )
+                { 
+                    label->setFrameStyle( QFrame::NoFrame ); 
+                    label->setMargin(5);
+                }
 
                 #ifdef Q_WS_WIN
                 widget->setWindowFlags(widget->windowFlags() | Qt::FramelessWindowHint);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic