Procházet zdrojové kódy

Fix highlight in Search panel being offseted

This commit fixes the match highlight in the Find In Files
result panel being slightly offseted.
João Pedro Braz před 1 rokem
rodič
revize
7945ca9378
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      editor/find_in_files.cpp

+ 2 - 0
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);