[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin/clients/plastik
From: Sandro Giessl <sandro () giessl ! com>
Date: 2005-03-26 19:01:40
Message-ID: 20050326190140.A3033628 () office ! kde ! org
[Download RAW message or body]
CVS commit by giessl:
bigger icons for small buttons
M +4 -4 plastik.cpp 1.20
--- kdebase/kwin/clients/plastik/plastik.cpp #1.19:1.20
@@ -514,13 +514,13 @@ const QBitmap &PlastikHandler::buttonBit
// btn icon size...
int reduceW = 0, reduceH = 0;
- if(size.width()>12) {
+ if(size.width()>14) {
reduceW = static_cast<int>(2*(size.width()/3.5) );
}
else
- reduceW = 4;
- if(size.height()>12)
+ reduceW = 6;
+ if(size.height()>14)
reduceH = static_cast<int>(2*(size.height()/3.5) );
else
- reduceH = 4;
+ reduceH = 6;
int w = size.width() - reduceW;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic