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
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;
......
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