summaryrefslogtreecommitdiff
path: root/modules/visual_script
diff options
context:
space:
mode:
authorkubecz3k <kubecz3k@gmail.com>2017-08-15 22:55:49 +0200
committerGitHub <noreply@github.com>2017-08-15 22:55:49 +0200
commit129ebca41d8ed85830580c593eafa2a8637cb5be (patch)
treef357e95da9894f88b6c6910a087a710b2a62b64b /modules/visual_script
parentaa24ddc59f723ba51ea752d32f092ca5e7b6b9e3 (diff)
parent0041e08f747f5d29ca7fbc65eb86175983aa84af (diff)
Merge pull request #9889 from groud/control_enhancements
Control node enhancements
Diffstat (limited to 'modules/visual_script')
-rw-r--r--modules/visual_script/visual_script_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_editor.cpp b/modules/visual_script/visual_script_editor.cpp
index 8912227692..456036b32a 100644
--- a/modules/visual_script/visual_script_editor.cpp
+++ b/modules/visual_script/visual_script_editor.cpp
@@ -3271,7 +3271,7 @@ VisualScriptEditor::VisualScriptEditor() {
graph->set_area_as_parent_rect();
hint_text = memnew(Label);
- hint_text->set_anchor_and_margin(MARGIN_TOP, ANCHOR_END, 100);
+ hint_text->set_anchor_and_margin(MARGIN_TOP, ANCHOR_END, -100);
hint_text->set_anchor_and_margin(MARGIN_BOTTOM, ANCHOR_END, 0);
hint_text->set_anchor_and_margin(MARGIN_RIGHT, ANCHOR_END, 0);
hint_text->set_align(Label::ALIGN_CENTER);