Ignore:
Timestamp:
2010-11-29T19:52:48+01:00 (13 years ago)
Author:
bastiK
Message:

fixed #5644 - Search box help not visible if histrory contains long search expressions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r3355 r3684  
    22package org.openstreetmap.josm.actions.search;
    33
     4import java.awt.Dimension;
    45import static org.openstreetmap.josm.gui.help.HelpUtil.ht;
    56import static org.openstreetmap.josm.tools.I18n.tr;
     
    147148        Collections.reverse(searchExpressionHistory);
    148149        hcbSearchString.setPossibleItems(searchExpressionHistory);
     150        hcbSearchString.setPreferredSize(new Dimension(40, hcbSearchString.getPreferredSize().height));
    149151
    150152        JRadioButton replace = new JRadioButton(tr("replace selection"), initialValues.mode == SearchMode.replace);
Note: See TracChangeset for help on using the changeset viewer.