- Timestamp:
- 2010-03-11T11:08:27+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/preferences
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/PluginPreference.java
r3090 r3113 7 7 import java.awt.BorderLayout; 8 8 import java.awt.Component; 9 import java.awt.FlowLayout;10 9 import java.awt.GridBagConstraints; 11 10 import java.awt.GridBagLayout; 11 import java.awt.GridLayout; 12 12 import java.awt.Insets; 13 13 import java.awt.event.ActionEvent; … … 131 131 132 132 protected JPanel buildActionPanel() { 133 JPanel pnl = new JPanel(new FlowLayout(FlowLayout.CENTER));133 JPanel pnl = new JPanel(new GridLayout(1,3)); 134 134 135 135 pnl.add(new JButton(new DownloadAvailablePluginsAction())); -
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginListPanel.java
r3083 r3113 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Font;7 6 import java.awt.GridBagConstraints; 8 7 import java.awt.GridBagLayout; … … 14 13 15 14 import javax.swing.JCheckBox; 16 import javax.swing.JLabel;17 15 import javax.swing.event.HyperlinkEvent; 18 16 import javax.swing.event.HyperlinkListener; 19 17 import javax.swing.event.HyperlinkEvent.EventType; 20 18 21 import org.openstreetmap.josm.gui.JMultilineLabel;22 19 import org.openstreetmap.josm.gui.widgets.HtmlPanel; 23 20 import org.openstreetmap.josm.gui.widgets.VerticallyScrollablePanel; … … 78 75 gbc.weighty = 1.0; 79 76 80 JMultilineLabel hint = new JMultilineLabel(""); 81 hint.setFont(hint.getFont().deriveFont(Font.PLAIN)); 82 hint.setHorizontalAlignment(JLabel.CENTER); 77 HtmlPanel hint = new HtmlPanel(); 83 78 hint.setText( 84 79 "<html>"
Note:
See TracChangeset
for help on using the changeset viewer.