- Timestamp:
- 2009-01-19T13:41:49+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1189 r1301 29 29 import javax.swing.JTabbedPane; 30 30 import javax.swing.JTextArea; 31 import javax.swing.UIManager; 31 32 32 33 import org.openstreetmap.josm.Main; … … 165 166 } 166 167 }), GBC.eol()); 167 JLabel label = new JLabel("<html><i>"+(p.info.description==null?tr("no description available"):p.info.description)+"</i></html>"); 168 label.setBorder(BorderFactory.createEmptyBorder(0,20,0,0)); 169 label.setMaximumSize(new Dimension(450,1000)); 170 pluginTab.add(label, GBC.eop().fill(GBC.HORIZONTAL)); 168 169 JTextArea description = new JTextArea((p.info.description==null? tr("no description available"):p.info.description)); 170 description.setEditable(false); 171 description.setFont(new JLabel().getFont().deriveFont(Font.ITALIC)); 172 description.setLineWrap(true); 173 description.setWrapStyleWord(true); 174 description.setBorder(BorderFactory.createEmptyBorder(0,20,0,0)); 175 description.setBackground(UIManager.getColor("Panel.background")); 176 177 pluginTab.add(description, GBC.eop().fill(GBC.HORIZONTAL)); 171 178 } 172 179 about.addTab(tr("Plugins"), new JScrollPane(pluginTab));
Note:
See TracChangeset
for help on using the changeset viewer.