Centers Dock Position text

This commit is contained in:
Haoyu Qiu 2019-12-23 09:37:36 +08:00
parent 56d44aaac9
commit d53c392b34
1 changed files with 1 additions and 0 deletions

View File

@ -5828,6 +5828,7 @@ EditorNode::EditorNode() {
Label *dock_label = memnew(Label); Label *dock_label = memnew(Label);
dock_label->set_text(TTR("Dock Position")); dock_label->set_text(TTR("Dock Position"));
dock_label->set_h_size_flags(Control::SIZE_EXPAND_FILL); dock_label->set_h_size_flags(Control::SIZE_EXPAND_FILL);
dock_label->set_align(Label::ALIGN_CENTER);
dock_hb->add_child(dock_label); dock_hb->add_child(dock_label);
dock_tab_move_right = memnew(ToolButton); dock_tab_move_right = memnew(ToolButton);