summaryrefslogtreecommitdiff
path: root/vcl/source/window/window2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/window2.cxx')
-rw-r--r--vcl/source/window/window2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index cf0c74ca2d59..8a6809771c3a 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1516,9 +1516,9 @@ bool Window::set_property(const OString &rKey, const OUString &rValue)
SetQuickHelpText(rValue);
else if (rKey == "border-width")
set_border_width(rValue.toInt32());
- else if (rKey == "margin-left")
+ else if (rKey == "margin-start" || rKey == "margin-left")
set_margin_left(rValue.toInt32());
- else if (rKey == "margin-right")
+ else if (rKey == "margin-end" || rKey == "margin-right")
set_margin_right(rValue.toInt32());
else if (rKey == "margin-top")
set_margin_top(rValue.toInt32());