summaryrefslogtreecommitdiffstats
path: root/scene/resources/default_theme
diff options
context:
space:
mode:
authorNicholas Huelin <62965063+SirQuartz@users.noreply.github.com>2023-02-22 05:33:04 -0500
committerSirQuartz <nicknhuelin@gmail.com>2023-02-22 14:51:15 -0500
commit961d6763fbfca8b94565079b3c15606bdac9b7c8 (patch)
tree921f0af84d6d410424baa04d6bb232688b6f04f1 /scene/resources/default_theme
parent253396ba3933b3c1b5a91016ac3eb1fb90788a9d (diff)
downloadredot-engine-961d6763fbfca8b94565079b3c15606bdac9b7c8.tar.gz
Modify the default theme GraphNode close_h_offset
Modifies the close_h_offset to be 12 instead of 22. This better aligns the default position.
Diffstat (limited to 'scene/resources/default_theme')
-rw-r--r--scene/resources/default_theme/default_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index 7a865691d9..cc606b5b88 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/scene/resources/default_theme/default_theme.cpp
@@ -720,7 +720,7 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("title_offset", "GraphNode", 26 * scale);
theme->set_constant("title_h_offset", "GraphNode", 0);
theme->set_constant("close_offset", "GraphNode", 22 * scale);
- theme->set_constant("close_h_offset", "GraphNode", 22 * scale);
+ theme->set_constant("close_h_offset", "GraphNode", 12 * scale);
theme->set_constant("port_offset", "GraphNode", 0);
// Tree