1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

[Pref panel] Remove gaps on confirmation button to fit 600px height

Should solve #4753
This commit is contained in:
Martino Facchin 2017-07-05 11:19:46 +02:00
parent cba0435367
commit 2191315123

View File

@ -552,7 +552,7 @@ public class Preferences extends javax.swing.JDialog {
.addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(manualProxyPassword, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(manualProxyPasswordLabel))
.addContainerGap(190, Short.MAX_VALUE))
.addContainerGap(50, Short.MAX_VALUE))
);
jTabbedPane1.addTab(tr("Network"), jPanel4);
@ -587,11 +587,9 @@ public class Preferences extends javax.swing.JDialog {
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(okButton)
.addComponent(cancelButton))
.addContainerGap())
.addComponent(cancelButton)))
);
jPanel2.add(jPanel3);
@ -606,7 +604,7 @@ public class Preferences extends javax.swing.JDialog {
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 637, Short.MAX_VALUE)
.addGap(0, 580, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);