1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01:00

Preferences: arrange checkboxes into two columns

This commit is contained in:
Martino Facchin 2019-03-12 14:08:20 +01:00 committed by Cristian Maglie
parent eb055cc4c0
commit b1253e2f0a

View File

@ -248,7 +248,7 @@ public class Preferences extends javax.swing.JDialog {
arduinoNotRunningLabel.setForeground(Color.GRAY);
arduinoNotRunningLabel.setText(tr("(edit only when Arduino is not running)"));
checkboxesContainer.setLayout(new javax.swing.BoxLayout(checkboxesContainer, javax.swing.BoxLayout.Y_AXIS));
checkboxesContainer.setLayout(new GridLayout(0,2));
displayLineNumbersBox.setText(tr("Display line numbers"));
checkboxesContainer.add(displayLineNumbersBox);