summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-05-03 18:43:30 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2010-05-03 18:45:17 (GMT)
commit7b3092423dc4b6c66aa34c483e6ede2e22747159 (patch)
tree057e2166a2a761bba1701ec505da09c796c14e38
parent7bcc52d4c1905a5d1777c4c43427e359948959fe (diff)
downloadQt-7b3092423dc4b6c66aa34c483e6ede2e22747159.zip
Qt-7b3092423dc4b6c66aa34c483e6ede2e22747159.tar.gz
Qt-7b3092423dc4b6c66aa34c483e6ede2e22747159.tar.bz2
Increase tooltip margin for cleanlooks+gtk
While gtkstyle should really query the width/height individually, this will help visually for now. The current 1-pixel margin look quite ugly in the Qt Creator editor at the moment. Reviewed-by: mae
-rw-r--r--src/gui/styles/qcleanlooksstyle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qcleanlooksstyle.cpp b/src/gui/styles/qcleanlooksstyle.cpp
index 0f39b23..ba24d97 100644
--- a/src/gui/styles/qcleanlooksstyle.cpp
+++ b/src/gui/styles/qcleanlooksstyle.cpp
@@ -3714,6 +3714,9 @@ int QCleanlooksStyle::pixelMetric(PixelMetric metric, const QStyleOption *option
{
int ret = -1;
switch (metric) {
+ case PM_ToolTipLabelFrameWidth:
+ ret = 2;
+ break;
case PM_ButtonDefaultIndicator:
ret = 0;
break;