Community
Participate
Working Groups
Creating a new bug to avoid the swirl in bug 362420. I think we can afford to make the Quick Access text area smaller. Once you start typing, all the useful information appears in the dropdown anyway. You rarely need to type more than a couple of characters in the box to find what you want. As long as the box is wide enough to fit the hint words "Quick Access" I think we could afford to cut about a 3rd of its current width.
Daniel, could you please take a look at this? PW
Created attachment 233583 [details] Fixed search field The patch proposal has been sent to Gerrit - http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=04d5e53e7e52e92dc423430658324bbe79edf7a9 Please take a look on the attachment to see how it works Daniel
Has this been tested in Linux? On Win7 the text just barely fits. Also, having it so close the text size gives it the appearance of a button with a white background rather than a text box. Since it is the only textbox in the toolbar/statusbar it doesn't look right.
Yes it would look better with a little more space than that.
Created attachment 233660 [details] Fixed search field - updated I've sent another patch to Gerrit that modifies the width of the search field according to the comments above Unfortunately I'm not able to test it on Linux Daniel
https://git.eclipse.org/r/#/c/14641/ On Linux the bug becomes short and the text is clipped at the ...Acc My guess is that width hint needs to be calculated some way from the current font. I've seen FontMetrics used before: http://www.java2s.com/Tutorial/Java/0300__SWT-2D-Graphics/UsingFontMetricstogetcharwidth.htm PW
Moving to M2 as per bug 414630 comment 4.
The updated patch has been sent to Gerrit - http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=d0a4fa91f8e4f2badf9bfaf7d358b3873f6fce69 Daniel
Search box size look look for me on Linux with the updates patch. Any idea how to get rid of the "ugly white border" around the search box? If I remove the SWT.SEARCH style bit, it looses the white box around it but of course it also looses the search flavor.
Created attachment 234537 [details] Demonstrates the ugly white corner around the search box
Gerrit review URL for the change from Daniel: https://git.eclipse.org/r/#/c/14641/
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=9a67c52d627b4257b6e30cf64ee1950d11b87693 Thanks Daniel, PW
Verified in the build: I20130916-2330