# Fully display Search panel including the Find Button

**URL:** https://resource.dopus.com/t/fully-display-search-panel-including-the-find-button/34256
**Category:** Help & Support
**Created:** [January 8, 2020, 8:13pm UTC](https://resource.dopus.com/t/fully-display-search-panel-including-the-find-button/34256 "2020-01-08T20:13:30Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [January 8, 2020, 9:37pm UTC](https://resource.dopus.com/t/fully-display-search-panel-including-the-find-button/34256/5 "2020-01-08T21:37:54Z")

</div>

Jon's layout suggestion (reply above mine) is the simplest way, but if you find that changes more things than you want it to, you could instead replace the Tools \> Find Files menu item with this:

- [Find (Min Width).dcf](https://resource.dopus.com/uploads/short-url/jgA6RcXBsytcmzMtMAlpRvEdkz.dcf) (1.1 KB)
- [How to use buttons and scripts from this forum](https://resource.dopus.com/t/how-to-use-buttons-and-scripts-from-this-forum/3546)

(It doesn't have a hotkey defined, so if you do replace the old menu item, give the replacement the Ctrl+F hotkey by editing the menu item after adding it.)

For reference, it runs this script, and you can edit the 3rd line to change the minimum width:

```javascript
function OnClick(clickData)
{
	var minWidth = DOpus.DPI.Scale(800);

	var cmd = clickData.func.command;
	var lister = cmd.sourcetab.lister;
	var width = lister.right - lister.left;
	
	if (width < minWidth && !cmd.IsSet("UTILITY=Find,Toggle"))
	{
		cmd.RunCommand("Set LISTERSIZE=" + minWidth + ",+0");
	}

	cmd.RunCommand("Set UTILITY=Find,Toggle");
}

```

---

_[View the full topic](https://resource.dopus.com/t/fully-display-search-panel-including-the-find-button/34256)._
