From 7b3092423dc4b6c66aa34c483e6ede2e22747159 Mon Sep 17 00:00:00 2001 From: Jens Bache-Wiig Date: Mon, 3 May 2010 20:43:30 +0200 Subject: 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 --- src/gui/styles/qcleanlooksstyle.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v0.12