summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorirods <irods@irodsfedora14.(none)>2011-08-19 17:08:47 (GMT)
committer irods <irods@irodsfedora14.(none)>2011-08-19 17:08:47 (GMT)
commit5e19b6176e90ccaf5e306229bd93d60907801329 (patch)
treedaafa666f03662c33163de734eddd09ceaa9cb4c
parent216df3fe5f529c0d955500e4c75f9d54b79c222b (diff)
downloadQCG-Data-5e19b6176e90ccaf5e306229bd93d60907801329.zip
QCG-Data-5e19b6176e90ccaf5e306229bd93d60907801329.tar.gz
QCG-Data-5e19b6176e90ccaf5e306229bd93d60907801329.tar.bz2
[#432] fix file name truncation in info panel
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form11
-rw-r--r--idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java5
2 files changed, 10 insertions, 6 deletions
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
index 057dcde..1205b61 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.form
@@ -865,14 +865,17 @@
</Constraint>
</Constraints>
- <Layout class="org.netbeans.modules.form.compat2.layouts.DesignFlowLayout">
- <Property name="alignment" type="int" value="0"/>
- <Property name="horizontalGap" type="int" value="0"/>
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
+ <Property name="columns" type="int" value="0"/>
+ <Property name="rows" type="int" value="1"/>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="lblFileOrCollectionName">
<Properties>
<Property name="text" type="java.lang.String" value=" "/>
+ <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
+ <Dimension value="[900, 100]"/>
+ </Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[80, 30]"/>
</Property>
@@ -1227,7 +1230,7 @@
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
- <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0050" weightY="0.0"/>
+ <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.005" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
diff --git a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
index 76057f3..10aad6b 100644
--- a/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
+++ b/idrop-swing/src/main/java/org/irods/jargon/idrop/desktop/systraygui/iDrop.java
@@ -1573,9 +1573,10 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
pnlFileNameAndIcon.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
pnlFileNameAndIcon.setMinimumSize(new java.awt.Dimension(100, 50));
- pnlFileNameAndIcon.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT, 0, 5));
+ pnlFileNameAndIcon.setLayout(new java.awt.GridLayout());
lblFileOrCollectionName.setText(" ");
+ lblFileOrCollectionName.setMaximumSize(new java.awt.Dimension(900, 100));
lblFileOrCollectionName.setMinimumSize(new java.awt.Dimension(80, 30));
pnlFileNameAndIcon.add(lblFileOrCollectionName);
@@ -1808,7 +1809,7 @@ public class iDrop extends javax.swing.JFrame implements ActionListener,
gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
- gridBagConstraints.weightx = 0.0050;
+ gridBagConstraints.weightx = 0.005;
pnlIdropBottom.add(userNameLabel, gridBagConstraints);
pnlTransferOverview.setLayout(new java.awt.BorderLayout());