Changeset 3404 in josm


Ignore:
Timestamp:
Aug 2, 2010 12:07:40 PM (3 years ago)
Author:
bastiK
Message:

fixed ExtendedDialog layout

File:
1 edited

Legend:

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

    r3403 r3404  
    321321            gc.insets = new Insets(10,10,10,10); 
    322322            gc.anchor = GridBagConstraints.NORTH; 
     323            gc.weighty = 1.0; 
    323324            cp.add(iconLbl, gc); 
    324325            gc.anchor = GridBagConstraints.CENTER; 
     
    328329        gc.fill = GridBagConstraints.BOTH; 
    329330        gc.insets = contentInsets; 
     331        gc.weightx = 1.0; 
     332        gc.weighty = 1.0; 
    330333        cp.add(content, gc); 
    331334 
    332335        gc.fill = GridBagConstraints.NONE; 
    333336        gc.gridwidth = GridBagConstraints.REMAINDER; 
     337        gc.weightx = 0.0; 
     338        gc.weighty = 0.0; 
    334339 
    335340        if (toggleable) { 
Note: See TracChangeset for help on using the changeset viewer.