Skip to content

Commit

Permalink
fix disappearing of the searchbar in 2nd row at small height
Browse files Browse the repository at this point in the history
  • Loading branch information
chriba committed Sep 10, 2016
1 parent 3c17a09 commit bce1bf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/sf/jabref/gui/search/GlobalSearchBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit bce1bf5

Please sign in to comment.