Browse Source

Merge pull request #113430 from arkology/editor-help-hide

Expand Hide button in `EditorHelp` search
Rémi Verschelde 1 week ago
parent
commit
dd8a830fcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/doc/editor_help.cpp

+ 1 - 1
editor/doc/editor_help.cpp

@@ -4933,7 +4933,7 @@ FindBar::FindBar() {
 	hide_button->set_tooltip_text(TTR("Hide"));
 	hide_button->set_focus_mode(FOCUS_ACCESSIBILITY);
 	hide_button->connect(SceneStringName(pressed), callable_mp(this, &FindBar::_hide_bar));
-	hide_button->set_v_size_flags(SIZE_SHRINK_CENTER);
+	hide_button->set_v_size_flags(SIZE_EXPAND_FILL);
 	add_child(hide_button);
 }