Merge pull request #34553 from timothyqiu/center-dock-position

Centers label text in Dock Select popup panel
This commit is contained in:
Rémi Verschelde 2019-12-23 08:31:29 +01:00 committed by GitHub
commit 22782d519c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);