From d53c392b340f6a74b6877d2aaaaaa908b64b8ca1 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Mon, 23 Dec 2019 09:37:36 +0800 Subject: [PATCH] Centers Dock Position text --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 9a3568bbc14..1f7dfed06ed 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);