Skip to content

Commit

Permalink
Merge pull request #83101 from joao-pedro-braz/fix-find-in-files-sele…
Browse files Browse the repository at this point in the history
…ction-offset

Fix highlight rect in "Whole search" being slightly offseted
  • Loading branch information
akien-mga committed Oct 10, 2023
2 parents d0301fc + 7945ca9 commit b36e6dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/find_in_files.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b36e6dc

Please sign in to comment.