Increase zoom level box margin

This commit is contained in:
SiboVG 2024-04-10 01:24:36 +02:00
parent 93a410cf2a
commit b5b9463e8d

View File

@ -55,7 +55,7 @@ public class ScaleSelector {
// Zoom level selector
scaleSelectorCombo = new JComboBox<>(SCALE_LABELS);
scaleSelectorCombo.setEditable(true);
scaleSelectorCombo.setSelectedItem("Fit (100.0%)"); // Make sure the combobox can fit this text
scaleSelectorCombo.setSelectedItem(" Fit (100.0%) "); // Make sure the combobox can fit this text
scaleSelectorCombo.setPreferredSize(scaleSelectorCombo.getPreferredSize());
setZoomText();
scaleSelectorCombo.addActionListener(new ActionListener() {