Changeset 13978 in josm


Ignore:
Timestamp:
2018-06-26T21:38:20+02:00 (9 months ago)
Author:
Don-vip
Message:

fix #16427 - Inserts zero width space character (U+8203) after each slash/amperand to wrap long URLs in imagery offset panel

Location:
trunk/src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

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

    r12630 r13978  
    2424import org.openstreetmap.josm.tools.GBC;
    2525import org.openstreetmap.josm.tools.ImageProvider;
     26import org.openstreetmap.josm.tools.TextUtils;
    2627
    2728/**
     
    4041        Font font = getFont().deriveFont(Font.PLAIN, 14.0f);
    4142        JMultilineLabel nagLabel = new JMultilineLabel(
    42                 tr("Aerial imagery \"{0}\" might be misaligned. Please check its offset using GPS tracks!", infoToAdd.getName()));
     43                tr("Aerial imagery \"{0}\" might be misaligned. Please check its offset using GPS tracks!",
     44                        TextUtils.wrapLongUrl(infoToAdd.getName())));
    4345        UrlLabel detailsList = new UrlLabel(tr("http://wiki.openstreetmap.org/wiki/Using_Imagery"), tr("Details..."));
    4446        nagLabel.setFont(font);
Note: See TracChangeset for help on using the changeset viewer.