Adjust left spacer of TreeSearchPanel, remove right spacer

This commit is contained in:
Alexander Montag 2024-10-02 16:06:02 +00:00
parent a07b143d68
commit 88a617aa42
No known key found for this signature in database
GPG Key ID: 07FE50B35A2B7524
1 changed files with 1 additions and 2 deletions

View File

@ -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) {