Changeset 6660 in josm


Ignore:
Timestamp:
2014-01-10T12:03:35+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #9559 - Rendering of lower part of upload dialog when resized

File:
1 edited

Legend:

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

    r6654 r6660  
    5454
    5555    protected JPanel buildUploadCommentPanel() {
    56         JPanel pnl = new JPanel();
    57         pnl.setLayout(new GridBagLayout());
     56        JPanel pnl = new JPanel(new GridBagLayout());
    5857
    5958        final JEditorPane commentLabel = JosmEditorPane.createJLabelLikePane();
    6059        commentLabel.setText("<html><b>" + tr("Provide a brief comment for the changes you are uploading:"));
    61         pnl.add(commentLabel, GBC.eol().insets(0, 5, 10, 3));
     60        pnl.add(commentLabel, GBC.eol().insets(0, 5, 10, 3).fill(GBC.HORIZONTAL));
    6261        hcbUploadComment.setToolTipText(tr("Enter an upload comment"));
    6362        hcbUploadComment.setMaxTextLength(Changeset.MAX_COMMENT_LENGTH);
     
    8180            }
    8281        });
    83         pnl.add(sourceLabel, GBC.eol().insets(0, 8, 10, 3));
     82        pnl.add(sourceLabel, GBC.eol().insets(0, 8, 10, 3).fill(GBC.HORIZONTAL));
    8483
    8584        hcbUploadSource.setToolTipText(tr("Enter a source"));
Note: See TracChangeset for help on using the changeset viewer.