From 88a617aa429fadbeb1b922679191765f67220c5a Mon Sep 17 00:00:00 2001 From: Alexander Montag Date: Wed, 2 Oct 2024 16:06:02 +0000 Subject: [PATCH] Adjust left spacer of TreeSearchPanel, remove right spacer --- editor/tree_search.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/tree_search.cpp b/editor/tree_search.cpp index 159343b..00a9cb9 100644 --- a/editor/tree_search.cpp +++ b/editor/tree_search.cpp @@ -522,7 +522,7 @@ void TreeSearchPanel::_initialize_controls() { line_edit_search->set_h_size_flags(SIZE_EXPAND_FILL); - _add_spacer(0.25); // otherwise the lineedits expand margin touches the left border. + _add_spacer(0.1); // otherwise the lineedits expand margin touches the left border. add_child(line_edit_search); add_child(find_prev_button); add_child(find_next_button); @@ -533,7 +533,6 @@ void TreeSearchPanel::_initialize_controls() { _add_spacer(0.25); add_child(close_button); - _add_spacer(0.25); } void TreeSearchPanel::_add_spacer(float p_width_multiplier) {