Changeset 5649 in josm


Ignore:
Timestamp:
2012-12-30T23:51:00+01:00 (12 years ago)
Author:
simon04
Message:

fix #8310 - fix scrollbar of WMS layers tree

File:
1 edited

Legend:

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

    r5617 r5649  
    4646        add(new JLabel(tr("2. Select layers")), GBC.eol());
    4747        add(endpoint, GBC.eol().fill());
    48         tree.getLayerTree().setPreferredSize(new Dimension(400, 100));
    49         add(new JScrollPane(tree.getLayerTree()), GBC.eol().fill());
     48        add(new JScrollPane(tree.getLayerTree()), GBC.eol().fill().weight(1, 100));
    5049        final JButton showBounds = new JButton(tr("Show bounds"));
    5150        showBounds.setEnabled(false);
Note: See TracChangeset for help on using the changeset viewer.