Increase zoom level box margin
This commit is contained in:
parent
93a410cf2a
commit
b5b9463e8d
@ -55,7 +55,7 @@ public class ScaleSelector {
|
|||||||
// Zoom level selector
|
// Zoom level selector
|
||||||
scaleSelectorCombo = new JComboBox<>(SCALE_LABELS);
|
scaleSelectorCombo = new JComboBox<>(SCALE_LABELS);
|
||||||
scaleSelectorCombo.setEditable(true);
|
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());
|
scaleSelectorCombo.setPreferredSize(scaleSelectorCombo.getPreferredSize());
|
||||||
setZoomText();
|
setZoomText();
|
||||||
scaleSelectorCombo.addActionListener(new ActionListener() {
|
scaleSelectorCombo.addActionListener(new ActionListener() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user