diff options
author | Nicholas Huelin <62965063+SirQuartz@users.noreply.github.com> | 2023-02-22 05:33:04 -0500 |
---|---|---|
committer | SirQuartz <nicknhuelin@gmail.com> | 2023-02-22 14:51:15 -0500 |
commit | 961d6763fbfca8b94565079b3c15606bdac9b7c8 (patch) | |
tree | 921f0af84d6d410424baa04d6bb232688b6f04f1 /scene/resources/default_theme | |
parent | 253396ba3933b3c1b5a91016ac3eb1fb90788a9d (diff) | |
download | redot-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.cpp | 2 |
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 |