From bc05c40aa04bc6a60f353c2e1a76be61c8060f14 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Wed, 17 Jun 2015 10:45:38 +0200 Subject: [PATCH] AdditionalBoardsManagerURLTextArea was not resizing internal text area when maximizing. Fixes #3348 --- .../AdditionalBoardsManagerURLTextArea.form | 16 ++++++++-------- .../AdditionalBoardsManagerURLTextArea.java | 14 +++++++------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.form b/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.form index e3b61f50d..4ffbee63d 100644 --- a/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.form +++ b/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.form @@ -30,20 +30,20 @@ - + - + + - + - - - + + @@ -58,7 +58,7 @@ - + @@ -66,7 +66,7 @@ - + diff --git a/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.java b/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.java index d4e30eb21..3ebcb3d84 100644 --- a/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.java +++ b/app/src/cc/arduino/view/preferences/AdditionalBoardsManagerURLTextArea.java @@ -118,16 +118,16 @@ public class AdditionalBoardsManagerURLTextArea extends javax.swing.JDialog { .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(layout.createSequentialGroup() + .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE) + .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(ok) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGap(7, 7, 7) .addComponent(cancel)) - .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE) .addGroup(layout.createSequentialGroup() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addComponent(jLabel1) - .addComponent(unofficialListURLLabel)) + .addComponent(unofficialListURLLabel) + .addComponent(jLabel1)) .addGap(0, 0, Short.MAX_VALUE))) .addContainerGap()) ); @@ -137,14 +137,14 @@ public class AdditionalBoardsManagerURLTextArea extends javax.swing.JDialog { .addContainerGap() .addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) + .addComponent(jScrollPane1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(unofficialListURLLabel) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(ok) .addComponent(cancel)) - .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addContainerGap()) ); pack();