summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-09-05 19:59:06 +0300
committerGitHub <noreply@github.com>2022-09-05 19:59:06 +0300
commit00fa4e23e4b967291034ea7bb018dea638b37e8f (patch)
tree5a38a04ee8129dc5c31886903dc1043033c5e8b1
parent90801a415314f29eb5c590f85a7751443e54b83a (diff)
parent77121efdff23598f04aee4a1e236bcce654b3581 (diff)
Merge pull request #65230 from fire-forge/itemlist-spacing
-rw-r--r--editor/editor_themes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp
index 76d5daadfb..883d31d3f9 100644
--- a/editor/editor_themes.cpp
+++ b/editor/editor_themes.cpp
@@ -1209,7 +1209,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
theme->set_color("font_color", "ItemList", font_color);
theme->set_color("font_selected_color", "ItemList", mono_color);
theme->set_color("guide_color", "ItemList", guide_color);
- theme->set_constant("v_separation", "ItemList", widget_default_margin.y - EDSCALE);
+ theme->set_constant("v_separation", "ItemList", force_even_vsep * 0.5 * EDSCALE);
theme->set_constant("h_separation", "ItemList", 6 * EDSCALE);
theme->set_constant("icon_margin", "ItemList", 6 * EDSCALE);
theme->set_constant("line_separation", "ItemList", 3 * EDSCALE);