diff options
| author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-22 16:24:29 +0000 |
|---|---|---|
| committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-23 06:25:56 +0000 |
| commit | 4b8b8039316493ee3fa77c6bb93f95e109fa68a6 (patch) | |
| tree | 5b13e0f4216218ccebb1e2584bae32b5bd2d6714 /editor/editor_inspector.cpp | |
| parent | 30d469a5e0f70860f3c4ce4508d6564ca389320b (diff) | |
| download | redot-engine-4b8b8039316493ee3fa77c6bb93f95e109fa68a6.tar.gz | |
Rename Control margin to offset
Diffstat (limited to 'editor/editor_inspector.cpp')
| -rw-r--r-- | editor/editor_inspector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index dd136c046f..a36b5f5a6a 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -220,7 +220,7 @@ void EditorProperty::_notification(int p_what) { Size2 size = get_size(); if (bottom_editor) { - size.height = bottom_editor->get_margin(MARGIN_TOP); + size.height = bottom_editor->get_offset(SIDE_TOP); } else if (label_reference) { size.height = label_reference->get_size().height; } |
