diff --git a/source/net/filebot/ui/MainFrame.java b/source/net/filebot/ui/MainFrame.java index 2b927943..7caeb9c3 100644 --- a/source/net/filebot/ui/MainFrame.java +++ b/source/net/filebot/ui/MainFrame.java @@ -84,7 +84,7 @@ public class MainFrame extends JFrame { headerPanel.getTitleLabel().setBorder(new EmptyBorder(8, 90, 10, 0)); JComponent c = (JComponent) getContentPane(); - c.setLayout(new MigLayout("insets 0, fill, hidemode 3", "95px[fill]", "fill")); + c.setLayout(new MigLayout("insets 0, fill, hidemode 3", String.format("%dx[fill]", isUbuntuApp() ? 115 : 95), "fill")); c.add(selectionListScrollPane, "pos 6px 10px n 100%-12px"); c.add(headerPanel, "growx, dock north"); diff --git a/source/net/filebot/ui/transfer/TransferablePolicy.java b/source/net/filebot/ui/transfer/TransferablePolicy.java index f2150a25..236ad34e 100644 --- a/source/net/filebot/ui/transfer/TransferablePolicy.java +++ b/source/net/filebot/ui/transfer/TransferablePolicy.java @@ -33,7 +33,7 @@ public abstract class TransferablePolicy { // just assume that the transferable will be accepted, accept will be called in importData again anyway return true; } catch (Exception e) { - Logger.getLogger(getClass().getName()).log(Level.WARNING, e.toString()); + Logger.getLogger(getClass().getName()).log(Level.WARNING, e.toString(), e); return false; } }