From f55c61d6011551eb1ca4eb840ff2b3ccc62a5fcb Mon Sep 17 00:00:00 2001 From: Nicholas Huelin <62965063+SirQuartz@users.noreply.github.com> Date: Wed, 22 Feb 2023 05:33:04 -0500 Subject: 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. (cherry picked from commit 961d6763fbfca8b94565079b3c15606bdac9b7c8) --- scene/resources/default_theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') 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, const Ref &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 -- cgit v1.2.3