From 0e8a8d2cb116f06ecd5d420b22b158b917fc7626 Mon Sep 17 00:00:00 2001
From: Bojidar Marinov
Date: Wed, 9 Mar 2016 18:59:35 +0200
Subject: Add option to keep margins when changing anchors, closes #3979
Amend: Fixed an issue for non-tool builds
Amend2: Same, just fixed doing nothing at some times
---
doc/base/classes.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'doc/base/classes.xml')
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index d111569a6..04e08f166 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -8385,8 +8385,12 @@
+
+
- Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Changing the anchor mode converts the current margin offset from the previous anchor mode to the new one, so margin offsets ([method set_margin]) must be done after setting anchors, or at the same time ([method set_anchor_and_margin]).
+ Change the anchor (ANCHOR_BEGIN, ANCHOR_END, ANCHOR_RATIO) type for a margin (MARGIN_LEFT, MARGIN_TOP, MARGIN_RIGHT, MARGIN_BOTTOM). Changing the anchor mode converts the current margin offset from the previous anchor mode to the new one, so margin offsets ([method set_margin]) must be done after setting anchors, or at the same time ([method set_anchor_and_margin])
+
+ Additionally, [code]keep_margin[/code] controls whether margins should be left the same, or changed to keep the same position and size on-screen.
--
cgit v1.2.3-70-g09d2