aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/sample_editor_plugin.cpp
diff options
context:
space:
mode:
authorGilles Roudiere2017-08-19 19:10:00 +0200
committerGilles Roudiere2017-08-19 19:10:00 +0200
commit06256cd7782de2d91cd9ed3bcb9a05e293397303 (patch)
tree48e2ea3efe55780838956a227ffe48ebba1bb9db /editor/plugins/sample_editor_plugin.cpp
parent523b3c11cf6de311cc3a711ed85ee48e72330a7b (diff)
downloadgodot-06256cd7782de2d91cd9ed3bcb9a05e293397303.tar.gz
godot-06256cd7782de2d91cd9ed3bcb9a05e293397303.tar.zst
godot-06256cd7782de2d91cd9ed3bcb9a05e293397303.zip
Diffstat (limited to 'editor/plugins/sample_editor_plugin.cpp')
-rw-r--r--editor/plugins/sample_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/sample_editor_plugin.cpp b/editor/plugins/sample_editor_plugin.cpp
index 1d6417e2d..2dd6de168 100644
--- a/editor/plugins/sample_editor_plugin.cpp
+++ b/editor/plugins/sample_editor_plugin.cpp
@@ -374,8 +374,8 @@ SampleEditor::SampleEditor() {
sample_texframe->add_child(info_label);
info_label->set_area_as_parent_rect();
info_label->set_anchor_and_margin(MARGIN_TOP,ANCHOR_END,-15);
- info_label->set_margin(MARGIN_BOTTOM,4);
- info_label->set_margin(MARGIN_RIGHT,4);
+ info_label->set_margin(MARGIN_BOTTOM,-4);
+ info_label->set_margin(MARGIN_RIGHT,-4);
info_label->set_align(Label::ALIGN_RIGHT);