Improve spacing in trees showing table data in modern theme

This commit is contained in:
passivestar 2026-01-11 22:54:56 +04:00
parent e9bb99a3bb
commit 6f0bd2efb9
17 changed files with 120 additions and 7 deletions

View file

@ -918,6 +918,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
theme->set_constant("inner_item_margin_left", "Tree", 0);
theme->set_constant("inner_item_margin_right", "Tree", 0);
theme->set_constant("inner_item_margin_top", "Tree", 0);
theme->set_constant("check_h_separation", "Tree", Math::round(4 * scale));
theme->set_constant("icon_h_separation", "Tree", Math::round(4 * scale));
theme->set_constant("button_margin", "Tree", Math::round(4 * scale));
theme->set_constant("draw_relationship_lines", "Tree", 0);
theme->set_constant("relationship_line_width", "Tree", 1);