Bundle: fix memory leak at init/reset
[fanfix.git] / ui / ZoomBox.java
index 53bd33b412285a45bc366ccbcd197252ad005ef8..a8f96095928a8a9dba8a92fde829f6e31019f817 100644 (file)
@@ -3,6 +3,7 @@ package be.nikiroo.utils.ui;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 
+import javax.swing.BorderFactory;
 import javax.swing.BoxLayout;
 import javax.swing.DefaultComboBoxModel;
 import javax.swing.Icon;
@@ -178,6 +179,7 @@ public class ZoomBox extends ListenerPanel {
                });
 
                zoomLabel = new JLabel();
+               zoomLabel.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 0));
 
                setIcons(null, null, null, null);
                setOrientation(vertical);