diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-04 13:25:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 13:25:25 +0200 |
commit | 674b2567ae9fc367c01de1a70f83a62d8a6de071 (patch) | |
tree | b5ff378c5efceb291a2925171ffbff92a15b9897 | |
parent | 8c8f5ca160935dd4e1572219aba4b6b2b04fdf7b (diff) | |
parent | 746ad820cf9f878b1076a223b0483d05a27d6e0a (diff) |
Merge pull request #22693 from mineevgleb/fix-graphnode-title
#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 3cdbc4f188..a1e8e4d838 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); |