1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 00:38:52 -05:00

Minor refactoring and UI optimizations

This commit is contained in:
Reinhard Pointner 2016-08-11 10:45:43 +08:00
parent e6a36a2e88
commit 49e82b7824

View File

@ -181,8 +181,8 @@ public class MainFrame extends JFrame {
public PanelSelectionList(PanelBuilder[] builders) {
super(builders);
setPrototypeCellValue(stream(builders).max(comparingInt(p -> p.getName().length())).get());
setCellRenderer(new PanelCellRenderer());
setPrototypeCellValue(stream(builders).max(comparingInt(p -> p.getName().length())).get());
setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
setBorder(new EmptyBorder(4, 5, 4, 5));