Increase ItemList v_separation in editor theme

ItemList now uses the same value for v_separation as PopupMenu. This makes it easier to select items.
This commit is contained in:
FireForge 2022-09-01 21:51:17 -05:00
parent c6fd311da0
commit 77121efdff

View file

@ -1212,7 +1212,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);