Ignore:
Timestamp:
16.10.2007 23:18:46 (5 years ago)
Author:
framm
Message:
  • added a built-in set of tagging presets. this can be disabled from preferences panel, or replaced with an own control file.
File:
1 edited

Legend:

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

    r298 r397  
    44import static org.openstreetmap.josm.tools.I18n.tr; 
    55 
     6import java.awt.Color; 
     7import java.awt.GridBagLayout; 
     8 
     9import javax.swing.BorderFactory; 
    610import javax.swing.JComboBox; 
    711import javax.swing.JLabel; 
     12import javax.swing.JPanel; 
    813 
    914import org.openstreetmap.josm.Main; 
     
    2631                } 
    2732                projectionCombo.addActionListener(gui.requireRestartAction); 
    28  
    29                 gui.map.add(new JLabel(tr("Projection method")), GBC.std()); 
    30                 gui.map.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); 
    31                 gui.map.add(projectionCombo, GBC.eop().fill(GBC.HORIZONTAL).insets(0,0,0,5)); 
     33                 
     34                JPanel projPanel = new JPanel(); 
     35                projPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createLineBorder(Color.gray), tr("Map Projection"))); 
     36                projPanel.setLayout(new GridBagLayout()); 
     37                projPanel.add(new JLabel(tr("Projection method")), GBC.std().insets(5,5,0,5)); 
     38                projPanel.add(GBC.glue(5,0), GBC.std().fill(GBC.HORIZONTAL)); 
     39                projPanel.add(projectionCombo, GBC.eop().fill(GBC.HORIZONTAL).insets(0,5,5,5)); 
     40                gui.map.add(projPanel, GBC.eol().insets(0,0,0,10).fill(GBC.HORIZONTAL)); 
    3241    } 
    3342 
Note: See TracChangeset for help on using the changeset viewer.