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:
parent
e6a36a2e88
commit
49e82b7824
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user