zoombox: add space
authorNiki Roo <niki@nikiroo.be>
Thu, 7 May 2020 19:00:10 +0000 (21:00 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 7 May 2020 19:00:10 +0000 (21:00 +0200)
src/be/nikiroo/utils/ui/ZoomBox.java

index 53bd33b412285a45bc366ccbcd197252ad005ef8..c2a7e13d50400059335d328aff5fe74b48ceaa19 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, 10, 10));
 
                setIcons(null, null, null, null);
                setOrientation(vertical);