summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-12-23 08:31:29 +0100
committerGitHub <noreply@github.com>2019-12-23 08:31:29 +0100
commit22782d519c263febe0af94c7765fd79565c0f3ce (patch)
treea291ec2dbfdc9cb720623d916ed7bfe1de543aa2
parent56d44aaac96747d2311b11702598c2e65551f411 (diff)
parentd53c392b340f6a74b6877d2aaaaaa908b64b8ca1 (diff)
Merge pull request #34553 from timothyqiu/center-dock-position
Centers label text in Dock Select popup panel
-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);