diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-12 00:16:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 00:16:51 +0100 |
commit | 36ce7c444d350b5fcd909f105fb6ca200f9d09df (patch) | |
tree | 826cb9a42b2833ce3e077ff58264e3a8b8845587 /editor | |
parent | f15c255916326bd052eae47329e05e27a414aebf (diff) | |
parent | d0ebcb61c888f33916bade0200a513b859d449c5 (diff) |
Merge pull request #14549 from RayKoopa/highlight_settings_categories
Highlight Editor Settings categories
Diffstat (limited to 'editor')
-rw-r--r-- | editor/property_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index b187a9ae9d..59acd9ded9 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -4532,6 +4532,7 @@ void SectionedPropertyEditor::update_category_list() { for (int i = 0; i < sc; i++) { TreeItem *parent = section_map[metasection]; + parent->set_custom_bg_color(0, get_color("prop_subsection", "Editor")); if (i > 0) { metasection += "/" + sectionarr[i]; @@ -4585,7 +4586,7 @@ SectionedPropertyEditor::SectionedPropertyEditor() { search_box = NULL; VBoxContainer *left_vb = memnew(VBoxContainer); - left_vb->set_custom_minimum_size(Size2(160, 0) * EDSCALE); + left_vb->set_custom_minimum_size(Size2(170, 0) * EDSCALE); add_child(left_vb); sections = memnew(Tree); |