[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/artwork/Oxygen/style/code
From: Casper Boemann <cbr () boemann ! dk>
Date: 2007-06-08 14:50:16
Message-ID: 1181314216.574148.17860.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 672953 by boemann:
normal looking menus just like window background
M +3 -3 oxygen.cpp
--- trunk/playground/artwork/Oxygen/style/code/oxygen.cpp #672952:672953
@@ -445,7 +445,7 @@
dpi.ScrollBarSliderMin = SCALE(40);
dpi.SliderThickness = SCALE(24);
dpi.SliderControl = SCALE(17);
- dpi.Indicator = SCALE(20);
+ dpi.Indicator = SCALE(24);
dpi.ExclusiveIndicator = SCALE(19);
}
@@ -971,7 +971,7 @@
}
case QEvent::Resize: {
if (QMenu *menu = qobject_cast<QMenu*>(object)) {
- QPalette::ColorRole role = menu->backgroundRole();
+/* QPalette::ColorRole role = menu->backgroundRole();
QColor c = menu->palette().color(QPalette::Active, role);
int size = ((QResizeEvent*)ev)->size().height();
QBrush brush;
@@ -997,7 +997,7 @@
QPalette pal = menu->palette();
pal.setBrush(role, brush);
menu->setPalette(pal);
- return false;
+*/ return false;
}
// QResizeEvent *rev = (QResizeEvent*)ev;
// int w = ((QResizeEvent*)ev)->size().width(),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic