Subversion Repositories svn.mios

Compare Revisions

Ignore whitespace Rev 244 → Rev 245

/trunk/java/org/midibox/sidlibr/gui/BankTable.java
68,9 → 68,7
table.getColumnModel().getColumn(2).setPreferredWidth(70);
table.setPreferredScrollableViewportSize(new Dimension(table.getPreferredSize().width, Math.round(table.getPreferredSize().height/4)));
 
// TK: temporary commented out - not available under MacOS, we need a replacement
// table.setFillsViewportHeight(true);
table.setFillsViewportHeight(true);
JScrollPane scrollPane = new JScrollPane(table);
scrollPane.setPreferredSize(new Dimension(table.getPreferredSize().width, Math.round(table.getPreferredSize().height/4)));