summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2019-12-23 09:37:36 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2019-12-23 09:37:36 +0800
commitd53c392b340f6a74b6877d2aaaaaa908b64b8ca1 (patch)
treea291ec2dbfdc9cb720623d916ed7bfe1de543aa2 /editor/editor_node.cpp
parent56d44aaac96747d2311b11702598c2e65551f411 (diff)
Centers Dock Position text
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 9a3568bbc1..1f7dfed06e 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5828,6 +5828,7 @@ EditorNode::EditorNode() {
Label *dock_label = memnew(Label);
dock_label->set_text(TTR("Dock Position"));
dock_label->set_h_size_flags(Control::SIZE_EXPAND_FILL);
+ dock_label->set_align(Label::ALIGN_CENTER);
dock_hb->add_child(dock_label);
dock_tab_move_right = memnew(ToolButton);