From bce1bf5e8fda6b2a0815023295c267a8036ed8fa Mon Sep 17 00:00:00 2001 From: Christian Bartsch Date: Sat, 10 Sep 2016 16:57:56 +0200 Subject: [PATCH] fix disappearing of the searchbar in 2nd row at small height --- src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java b/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java index a3b46892974..eab467f962b 100644 --- a/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java +++ b/src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java @@ -23,7 +23,6 @@ import net.sf.jabref.gui.IconTheme; import net.sf.jabref.gui.JabRefFrame; import net.sf.jabref.gui.OSXCompatibleToolbar; -import net.sf.jabref.gui.WrapLayout; import net.sf.jabref.gui.autocompleter.AutoCompleteSupport; import net.sf.jabref.gui.help.HelpAction; import net.sf.jabref.gui.keyboard.KeyBinding; @@ -150,7 +149,7 @@ public void actionPerformed(ActionEvent e) { } }); - setLayout(new WrapLayout(FlowLayout.RIGHT)); + setLayout(new FlowLayout(FlowLayout.RIGHT)); JToolBar toolBar = new OSXCompatibleToolbar(); toolBar.setFloatable(false); if (OS.OS_X) {