Widen OmniWeb 5's search box

May 19, '04 09:30:00AM

Contributed by: Jon Hicks

OmniWeb 5's toolbar search box is great, but a little too small for me. If you want to increase its maximum width to make it easier to see all of your search query, do this:

Quit OmniWeb. Control-click on OmniWeb's application icon and choose 'Show Package Contents' from the contextual menu. Go to Contents -> Resources- > English.lproj, and open up the 'BrowserWindow.toolbar' file in a plain text editor. At about line 210, you will find this code:

SearchField = {
            paletteLabel = "Search Field";
            label = "Search";
            nullMenu = "(Search)";
            minSize = ( 80, 21.0 );
            maxSize = ( 180, 21.0 );
        };
Change the 180 (pixels) value in maxSize = ( 180, 21.0 ) to something larger (I used 230). When you restart Omniweb, the field's maximum size will be larger.

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040515064449551