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

List:       kde-commits
Subject:    KDE/kdebase/workspace/krunner/interfaces/default
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-02-28 21:56:34
Message-ID: 1235858194.863678.28391.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 933424 by mart:

the separator line is a bit better, the whole thing is still a bit
offending


 M  +8 -2      interface.cpp  


--- trunk/KDE/kdebase/workspace/krunner/interfaces/default/interface.cpp #933423:933424
@@ -226,10 +226,16 @@
     Plasma::Theme *theme = Plasma::Theme::defaultTheme();
     int gradientWidth = contentsRect().width() - KDialog::marginHint()*2;
     QLinearGradient gr(0, 0, gradientWidth, 0);
-    gr.setColorAt(0, theme->color(Plasma::Theme::BackgroundColor));
+    gr.setColorAt(0, Qt::transparent);
     gr.setColorAt(.35, theme->color(Plasma::Theme::TextColor));
     gr.setColorAt(.65, theme->color(Plasma::Theme::TextColor));
-    gr.setColorAt(1, theme->color(Plasma::Theme::BackgroundColor));
+    gr.setColorAt(1, Qt::transparent);
+
+    QLinearGradient gr2(0, 0, gradientWidth, 0);
+    gr2.setColorAt(0, Qt::transparent);
+    gr2.setColorAt(.35, theme->color(Plasma::Theme::BackgroundColor));
+    gr2.setColorAt(.65, theme->color(Plasma::Theme::BackgroundColor));
+    gr2.setColorAt(1, Qt::transparent);
     {
         QPalette p = palette();
         p.setBrush(QPalette::Background, gr);
[prev in list] [next in list] [prev in thread] [next in thread] 

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