Changeset 5119 in josm for trunk/src


Ignore:
Timestamp:
2012-03-25T20:52:21+02:00 (13 years ago)
Author:
akks
Message:

minor fix: Imagery offset warning on small resolution screens, see #7450

File:
1 edited

Legend:

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

    r5091 r5119  
    22
    33
    4 import java.awt.BorderLayout;
    54import java.awt.Color;
    65import java.awt.Font;
    7 import java.awt.Graphics;
     6import java.awt.Toolkit;
    87import java.awt.event.ActionEvent;
    98import java.awt.event.ActionListener;
    10 import java.awt.event.MouseEvent;
    11 import java.awt.event.MouseListener;
    129import javax.swing.BoxLayout;
    1310import javax.swing.JButton;
     
    1512import javax.swing.JPanel;
    1613import javax.swing.Box;
    17 import javax.swing.JSplitPane;
    1814import javax.swing.border.CompoundBorder;
    1915import javax.swing.border.EmptyBorder;
     
    4036        JLabel nagLabel = new JLabel(tr("Aerial imagery might be misaligned. Please check its offset using GPS tracks!"));
    4137        UrlLabel detailsList = new UrlLabel(tr("http://wiki.openstreetmap.org/wiki/Using_Imagery"), tr("Details..."));
     38        double w = Toolkit.getDefaultToolkit().getScreenSize().getWidth();
     39        if (w<1300) detailsList.setDescription("Read more");
    4240        nagLabel.setFont(font);
    4341        detailsList.setFont(font);
Note: See TracChangeset for help on using the changeset viewer.