Skip to content

Commit 18a8e95

Browse files
committed
Enlarge search result icon size to 32x32
The assumption was that search result icons would always be 16x16, which is the long-time favicon size. But with HiDPI displays in common use now, it's better to have more detail. Ultimately, this number should stop being hardcoded and instead be derived from the UI scale or some such, but for the moment, just upping it to 32x32 is still better.
1 parent 2ac8e95 commit 18a8e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/ui/swing/search/SwingSearchBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
*/
105105
public class SwingSearchBar extends JTextField {
106106

107-
public static final int ICON_SIZE = 16;
107+
public static final int ICON_SIZE = 32;
108108

109109
private static final String DEFAULT_MESSAGE = "Click here to search";
110110
private static final Color ACTIVE_FONT_COLOR = new Color(0, 0, 0);

0 commit comments

Comments
 (0)