package jalview.io;
import jalview.util.MessageManager;
+import jalview.util.Platform;
import java.awt.Component;
import java.awt.Dimension;
layout.putConstraint(SpringLayout.NORTH, scroller, 5,
SpringLayout.NORTH, this);
- // scroller.setPreferredSize(new Dimension(130, 200));
-
+ if (new Platform().isAMac())
+ {
+ scroller.setPreferredSize(new Dimension(500, 100));
+ }
+ else
+ {
+ scroller.setPreferredSize(new Dimension(130, 200));
+ }
- scroller.setPreferredSize(new Dimension(500, 100));
this.add(scroller);
javax.swing.SwingUtilities.invokeLater(new Runnable()