[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-05-07 0:35:28
Message-ID: 20100507003528.B64C4AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1123806 by hpereiradacosta:
fixed positionning of editable combobox vertical arrow; used renderWindowBackground \
for combobox dropdown menu background
M +2 -9 oxygenstyle.cpp
--- trunk/KDE/kdebase/workspace/kstyles/oxygen/oxygenstyle.cpp #1123805:1123806
@@ -3853,6 +3853,7 @@
background = pal.color( QPalette::Background );
if( enabled ) drawContrast = false;
+ r.translate( 0, 1 );
} else {
@@ -7029,16 +7030,8 @@
}
- // background
- int splitY = qMin(200, 3*r.height()/4);
+ _helper.renderMenuBackground( &p, e->rect(), widget, \
widget->palette() );
- QRect upperRect = QRect(0, 0, r.width(), splitY);
- QPixmap tile = _helper.verticalGradient(color, splitY);
- p.drawTiledPixmap(upperRect, tile);
-
- QRect lowerRect = QRect(0,splitY, r.width(), r.height() - splitY);
- p.fillRect(lowerRect, _helper.backgroundBottomColor(color));
-
// frame
if( compositingActive() ) p.setClipping( false );
_helper.drawFloatFrame( &p, r, color );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic