summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-26 19:08:42 +0200
committerGitHub <noreply@github.com>2019-07-26 19:08:42 +0200
commite4ec59b6ae7ba4da8a57d35a4763192fd84fa358 (patch)
treef7b293e4c4cbc91aa86fcf8c7031feef76464fef /editor/editor_node.cpp
parent140e7e5edf33adaf12c8a1f4050256f3fe54b4ce (diff)
parentdee9e9dc629556c858e8f2b9b17c10db9876c5c2 (diff)
downloadredot-engine-e4ec59b6ae7ba4da8a57d35a4763192fd84fa358.tar.gz
Merge pull request #30763 from Calinou/editor-add-version-info
Display version information in the editor at all times
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index e9a28368bf..3853d18e17 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -6254,6 +6254,13 @@ EditorNode::EditorNode() {
bottom_panel_hb_editors = memnew(HBoxContainer);
bottom_panel_hb_editors->set_h_size_flags(Control::SIZE_EXPAND_FILL);
bottom_panel_hb->add_child(bottom_panel_hb_editors);
+
+ version_label = memnew(Label);
+ version_label->set_text(VERSION_FULL_CONFIG);
+ // Fade out the version label to be less prominent, but still readable
+ version_label->set_self_modulate(Color(1, 1, 1, 0.6));
+ bottom_panel_hb->add_child(version_label);
+
bottom_panel_raise = memnew(ToolButton);
bottom_panel_raise->set_icon(gui_base->get_icon("ExpandBottomDock", "EditorIcons"));