summaryrefslogtreecommitdiff
path: root/editor/node_dock.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-12-09 10:22:24 +0100
committerGitHub <noreply@github.com>2021-12-09 10:22:24 +0100
commit4129c1d140b8c48b64c993fdfa6083e0ec59c8f0 (patch)
tree64fa9af1dc2f924c9e3ea7c0cdc65e84b1d2ebfb /editor/node_dock.cpp
parentdcca8aba4f01dfc55c1d7adb6bef7bee684cf447 (diff)
parent41a20171eb81a7850dd96ec31da4b40c619538a2 (diff)
Merge pull request #55299 from nathanfranke/renames
Diffstat (limited to 'editor/node_dock.cpp')
-rw-r--r--editor/node_dock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/node_dock.cpp b/editor/node_dock.cpp
index 532413897b..c3dc7eae28 100644
--- a/editor/node_dock.cpp
+++ b/editor/node_dock.cpp
@@ -128,8 +128,8 @@ NodeDock::NodeDock() {
select_a_node->set_text(TTR("Select a single node to edit its signals and groups."));
select_a_node->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
select_a_node->set_v_size_flags(SIZE_EXPAND_FILL);
- select_a_node->set_valign(Label::VALIGN_CENTER);
- select_a_node->set_align(Label::ALIGN_CENTER);
+ select_a_node->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
+ select_a_node->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_CENTER);
select_a_node->set_autowrap_mode(Label::AUTOWRAP_WORD_SMART);
add_child(select_a_node);
}