summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qgtkstyle.cpp
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2009-12-09 10:27:58 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2009-12-09 10:29:44 (GMT)
commitbc4077223affd542f5fb24e27a065b7999229654 (patch)
tree431c2450f5bba786e744bfd6afee79b0b75c6d15 /src/gui/styles/qgtkstyle.cpp
parent596eed45c626ea2652e1f9495a0946d32eb4c6da (diff)
downloadQt-bc4077223affd542f5fb24e27a065b7999229654.zip
Qt-bc4077223affd542f5fb24e27a065b7999229654.tar.gz
Qt-bc4077223affd542f5fb24e27a065b7999229654.tar.bz2
Mixed up top/bottom
Reviewed-by: trustme
Diffstat (limited to 'src/gui/styles/qgtkstyle.cpp')
-rw-r--r--src/gui/styles/qgtkstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp
index 097a2b5..e10bb41 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -3389,7 +3389,7 @@ QRect QGtkStyle::subElementRect(SubElement element, const QStyleOption *option,
GtkBorder *border = 0;
d->gtk_widget_style_get(gtkButton, "inner-border", &border, NULL);
if (border) {
- r = option->rect.adjusted(border->left, border->top, -border->right, -border->top);
+ r = option->rect.adjusted(border->left, border->top, -border->right, -border->bottom);
d->gtk_border_free(border);
} else {
r = option->rect.adjusted(1, 1, -1, -1);