Kaydet (Commit) b04c9cac authored tarafından Caolán McNamara's avatar Caolán McNamara

gtk3: fix borders

Change-Id: I7ea1198d08333d0ce95c2e6b5d7dcf8928a11838
üst dcee23b7
...@@ -1375,10 +1375,10 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar ...@@ -1375,10 +1375,10 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
int y2 = aEditRect.Bottom(); int y2 = aEditRect.Bottom();
rNativeBoundingRegion = aEditRect; rNativeBoundingRegion = aEditRect;
rNativeContentRegion = Rectangle(x1 + padding.left + border.left, rNativeContentRegion = Rectangle(x1 + (padding.left + border.left),
y1 + padding.top + border.top, y1 + (padding.top + border.top),
x2 - padding.right + border.right, x2 - (padding.right + border.right),
y2 - padding.bottom + border.bottom); y2 - (padding.bottom + border.bottom));
gtk_style_context_restore(mpFrameInStyle); gtk_style_context_restore(mpFrameInStyle);
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment