diff options
author | Gleb Mineev <mineevgleb@gmail.com> | 2018-10-03 20:43:14 +0200 |
---|---|---|
committer | Gleb Mineev <mineevgleb@gmail.com> | 2018-10-03 20:43:14 +0200 |
commit | 746ad820cf9f878b1076a223b0483d05a27d6e0a (patch) | |
tree | cf5e3529a4d96af37af509b54f7c7826db37aa9b | |
parent | 1aa1398012b9132a26ffe6aa4cc9d4dde984b409 (diff) |
#21661: fixed GraphNode title offset
-rw-r--r-- | editor/editor_themes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 9e81051dc2..6e1548df14 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1016,6 +1016,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_constant("separation", "GraphNode", 1 * EDSCALE); |