From 8ce8a4521911f8ab8c0187863f9f72aada845d08 Mon Sep 17 00:00:00 2001
From: Gleb Mineev <mineevgleb@gmail.com>
Date: Wed, 3 Oct 2018 20:43:14 +0200
Subject: [PATCH] #21661: fixed GraphNode title offset

(cherry picked from commit 746ad820cf9f878b1076a223b0483d05a27d6e0a)
---
 editor/editor_themes.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index bc8528d22f5..596f2e12e64 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -992,6 +992,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
 
 	theme->set_constant("port_offset", "GraphNode", 14 * EDSCALE);
 	theme->set_constant("title_h_offset", "GraphNode", -16 * EDSCALE);
+	theme->set_constant("title_offset", "GraphNode", 20 * EDSCALE);
 	theme->set_constant("close_h_offset", "GraphNode", 20 * EDSCALE);
 	theme->set_constant("close_offset", "GraphNode", 20 * EDSCALE);
 	theme->set_icon("close", "GraphNode", theme->get_icon("GuiCloseCustomizable", "EditorIcons"));