Changeset 10622 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-07-24T13:19:12+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r10525 r10622 6 6 import static org.openstreetmap.josm.tools.I18n.trn; 7 7 8 import java.awt.BorderLayout;9 8 import java.awt.Component; 10 9 import java.awt.Dimension; … … 60 59 import org.openstreetmap.josm.tools.Utils; 61 60 import org.openstreetmap.josm.tools.WindowGeometry; 61 import org.openstreetmap.josm.tools.MultiLineFlowLayout; 62 62 63 63 /** … … 166 166 167 167 pnl.add(tpConfigPanels, GBC.eol().fill(GBC.HORIZONTAL)); 168 169 pnl.add(buildActionPanel(), GBC.eol().fill(GBC.HORIZONTAL)); 168 170 return pnl; 169 171 } … … 175 177 */ 176 178 protected JPanel buildActionPanel() { 177 JPanel pnl = new JPanel(new FlowLayout(FlowLayout.CENTER));179 JPanel pnl = new JPanel(new MultiLineFlowLayout(FlowLayout.CENTER)); 178 180 pnl.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5)); 179 181 … … 202 204 protected void build() { 203 205 setTitle(tr("Upload to ''{0}''", OsmApi.getOsmApi().getBaseUrl())); 204 getContentPane().setLayout(new BorderLayout()); 205 getContentPane().add(buildContentPanel(), BorderLayout.CENTER); 206 getContentPane().add(buildActionPanel(), BorderLayout.SOUTH); 206 setContentPane(buildContentPanel()); 207 207 208 208 addWindowListener(new WindowEventHandler());
Note:
See TracChangeset
for help on using the changeset viewer.