From 7945ca9378026a974c7defb4452a8cd9be9d5956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Braz?= Date: Tue, 10 Oct 2023 09:04:14 -0300 Subject: [PATCH] Fix highlight in Search panel being offseted This commit fixes the match highlight in the Find In Files result panel being slightly offseted. --- editor/find_in_files.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor/find_in_files.cpp b/editor/find_in_files.cpp index 5506f4a6bcd2..a14df018587f 100644 --- a/editor/find_in_files.cpp +++ b/editor/find_in_files.cpp @@ -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);