From dee9e9dc629556c858e8f2b9b17c10db9876c5c2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 22 Jul 2019 23:14:51 +0200 Subject: Display version information in the editor at all times This closes #27811. --- editor/editor_node.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'editor/editor_node.cpp') diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index b59d42a5f7..7231e33f18 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6262,6 +6262,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")); -- cgit v1.2.3