Changeset 3035 in josm for trunk/src/org


Ignore:
Timestamp:
2010-02-23T12:56:42+01:00 (15 years ago)
Author:
bastiK
Message:

Make relation dialog remember window geometry. (See #4586)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditor.java

    r2990 r3035  
    7171import org.openstreetmap.josm.tools.ImageProvider;
    7272import org.openstreetmap.josm.tools.Shortcut;
     73import org.openstreetmap.josm.tools.WindowGeometry;
    7374
    7475/**
     
    107108        super(layer, relation, selectedMembers);
    108109
     110        setRememberWindowGeometry(getClass().getName() + ".geometry",
     111                WindowGeometry.centerInWindow(Main.parent, new Dimension(700, 650)));
     112       
    109113        // initialize the autocompletion infrastructure
    110114        //
     
    536540    @Override
    537541    protected Dimension findMaxDialogSize() {
    538         // FIXME: Make it remember dialog size
    539542        return new Dimension(700, 650);
    540543    }
Note: See TracChangeset for help on using the changeset viewer.