Merge pull request #83101 from joao-pedro-braz/fix-find-in-files-selection-offset

Fix highlight rect in "Whole search" being slightly offseted
This commit is contained in:
Rémi Verschelde 2023-10-10 22:51:17 +02:00
commit b36e6dc9e9
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -604,6 +604,8 @@ FindInFilesPanel::FindInFilesPanel() {
_results_display->set_select_mode(Tree::SELECT_ROW);
_results_display->set_allow_rmb_select(true);
_results_display->set_allow_reselect(true);
_results_display->add_theme_constant_override("inner_item_margin_left", 0);
_results_display->add_theme_constant_override("inner_item_margin_right", 0);
_results_display->create_item(); // Root
vbc->add_child(_results_display);