Merge pull request #65230 from fire-forge/itemlist-spacing

This commit is contained in:
Yuri Sizov 2022-09-05 19:59:06 +03:00 committed by GitHub
commit 00fa4e23e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);