diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-20 20:39:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-20 20:40:54 +0100 |
commit | b04c9cac994e39d28f5f715f560e97edcca0e666 (patch) | |
tree | adfad68952fd7f6995795af21b74b556668bb356 /vcl/unx | |
parent | dcee23b7f8004c47cbab320e1a07bf518a385fce (diff) |
gtk3: fix borders
Change-Id: I7ea1198d08333d0ce95c2e6b5d7dcf8928a11838
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index 8ed73feb2499..b59ccdebf3be 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -1375,10 +1375,10 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar int y2 = aEditRect.Bottom(); rNativeBoundingRegion = aEditRect; - rNativeContentRegion = Rectangle(x1 + padding.left + border.left, - y1 + padding.top + border.top, - x2 - padding.right + border.right, - y2 - padding.bottom + border.bottom); + rNativeContentRegion = Rectangle(x1 + (padding.left + border.left), + y1 + (padding.top + border.top), + x2 - (padding.right + border.right), + y2 - (padding.bottom + border.bottom)); gtk_style_context_restore(mpFrameInStyle); return true; |