Changeset 30590 in osm


Ignore:
Timestamp:
2014-08-16T01:48:02+02:00 (10 years ago)
Author:
donvip
Message:

[josm-tagging-preset-tester] fix #josm10331 - layout issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java

    r30220 r30590  
    6969        this.args = args;
    7070        taggingPresets = new TaggingPresetSelector(true, true);
     71        taggingPresets.setMinimumSize(new Dimension(150,250));
     72        taggingPresets.setPreferredSize(new Dimension(300,500));
     73        taggingPresetPanel.setMinimumSize(new Dimension(150,250));
    7174        taggingPresetPanel.setPreferredSize(new Dimension(300,500));
    7275        reload();
    7376
    74         panel.add(taggingPresets, GBC.std(0,0).fill(GBC.BOTH));
    75         panel.add(taggingPresetPanel, GBC.std(1,0).fill(GBC.BOTH));
     77        panel.add(taggingPresets, GBC.std(0,0).fill(GBC.BOTH).weight(0.5, 1.0));
     78        panel.add(taggingPresetPanel, GBC.std(1,0).fill(GBC.BOTH).weight(0.5, 1.0));
    7679        taggingPresets.addSelectionListener(new ActionListener(){
    7780            @Override
     
    9598
    9699        setContentPane(panel);
     100        setMinimumSize(new Dimension(400,300));
    97101        setSize(600,500);
    98102    }
Note: See TracChangeset for help on using the changeset viewer.