[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kstyles/kthemestyle
From: Maks Orlovich <mo002j () mail ! rochester ! edu>
Date: 2003-02-12 3:14:09
[Download RAW message or body]
CVS commit by orlovich:
-Apply a patch from Milo Hoffman to play nicely with the weird rotation hack Gideon
uses.
M +2 -2 kthemestyle.cpp 1.36
--- kdelibs/kstyles/kthemestyle/kthemestyle.cpp #1.35:1.36
@@ -1094,5 +1094,5 @@ void KThemeStyle::drawControl( ControlEl
bool sunken = btn->isOn() || btn->isDown();
int diw = pixelMetric( PM_ButtonDefaultIndicator, btn );
- drawBaseButton( p, diw, diw, btn->width() - 2 * diw, btn->height() - 2 * diw,
+ drawBaseButton( p, diw, diw, w - 2 * diw, h - 2 * diw,
*colorGroup( btn->colorGroup(), sunken ? PushButtonDown :
PushButton ), sunken, roundButton(),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic