diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml index 8285d5b0afe..6e0ffe82256 100644 --- a/doc/classes/GraphNode.xml +++ b/doc/classes/GraphNode.xml @@ -342,7 +342,7 @@ Color of the title text. - + The vertical offset of the close button. diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 7a865691d91..cc606b5b883 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