Author: rozagh
Date: 2012-08-03 15:51:44 -0700 (Fri, 03 Aug 2012)
New Revision: 30097
Modified:
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/panel/OpenPanel.java
Log:
Removed HTML tags from URI strings to fit the content to the preferred size,
also decrease the border size on the left.
Modified:
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/panel/OpenPanel.java
===================================================================
---
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/panel/OpenPanel.java
2012-08-03 22:34:26 UTC (rev 30096)
+++
core3/impl/trunk/welcome-impl/src/main/java/org/cytoscape/welcome/internal/panel/OpenPanel.java
2012-08-03 22:51:44 UTC (rev 30097)
@@ -70,7 +70,7 @@
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
- final Border padLine = BorderFactory.createEmptyBorder(3, 20,
3, 0);
+ final Border padLine = BorderFactory.createEmptyBorder(3, 5, 3,
0);
for (int i = 0; i<fileCount; i++) {
final URL target = recentFiles.get(i);
@@ -83,7 +83,7 @@
continue;
}
final File targetFile = new File(fileURI);
- final JLabel fileLabel = new JLabel("<html><u>" +
target.toString() + "</u></html>");
+ final JLabel fileLabel = new JLabel(target.toString());
fileLabel.setMaximumSize(new Dimension(300, 18));
fileLabel.setForeground(REGULAR_FONT_COLOR);
fileLabel.setFont(LINK_FONT);
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.