Changeset 13772 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2018-05-15T22:10:34+02:00 (16 months ago)
Author:
wiktorn
Message:

Fix Add WMS Panel layout

See: #16249

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddWMSLayerPanel.java

    r13751 r13772  
    5555        rawUrl.setLineWrap(true);
    5656        JButton getLayers = new JButton(tr("{0} Get layers", "3."));
    57         add(getLayers, GBC.eop().fill());
     57        add(getLayers, GBC.eop().fill(GBC.HORIZONTAL));
    5858
    5959        add(new JLabel(tr("{0} Select layers", "4.")), GBC.eol());
     
    6262        setDefaultLayers.setEnabled(false);
    6363        add(setDefaultLayers, GBC.eol());
    64         add(new JScrollPane(tree.getLayerTree()), GBC.eol().fill().weight(1, 100));
     64        add(new JScrollPane(tree.getLayerTree()), GBC.eol().fill());
    6565
    6666        showBounds.setEnabled(false);
    67         add(showBounds, GBC.eop().fill());
     67        add(showBounds, GBC.eop().fill(GBC.HORIZONTAL));
    6868
    6969        add(new JLabel(tr("{0} Select image format", "5.")), GBC.eol());
    70         add(formats, GBC.eol().fill());
     70        add(formats, GBC.eol().fill(GBC.HORIZONTAL));
    7171
    7272        addCommonSettings();
Note: See TracChangeset for help on using the changeset viewer.