Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
Add a new "inner_item_margin" Theme constant to the Tree control
This commit is contained in:
commit
b4a11294e6
5 changed files with 31 additions and 4 deletions
|
|
@ -1276,6 +1276,10 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
|||
theme->set_constant("h_separation", "Tree", 6 * EDSCALE);
|
||||
theme->set_constant("guide_width", "Tree", border_width);
|
||||
theme->set_constant("item_margin", "Tree", 3 * default_margin_size * EDSCALE);
|
||||
theme->set_constant("inner_item_margin_bottom", "Tree", (default_margin_size + extra_spacing) * EDSCALE);
|
||||
theme->set_constant("inner_item_margin_left", "Tree", (default_margin_size + extra_spacing) * EDSCALE);
|
||||
theme->set_constant("inner_item_margin_right", "Tree", (default_margin_size + extra_spacing) * EDSCALE);
|
||||
theme->set_constant("inner_item_margin_top", "Tree", (default_margin_size + extra_spacing) * EDSCALE);
|
||||
theme->set_constant("button_margin", "Tree", default_margin_size * EDSCALE);
|
||||
theme->set_constant("scroll_border", "Tree", 40 * EDSCALE);
|
||||
theme->set_constant("scroll_speed", "Tree", 12);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue