Changeset 16565 in josm for trunk


Ignore:
Timestamp:
2020-06-07T18:53:30+02:00 (4 years ago)
Author:
simon04
Message:

fix #6157 - Presets: UI problems with combo + editable=false (patch by shr, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Combo.java

    r16527 r16565  
    6161        component = combobox;
    6262        combobox.setRenderer(getListCellRenderer());
    63         combobox.setEditable(editable);
     63        combobox.setEditable(true); // fix incorrect height, see #6157
    6464        combobox.reinitialize(presetListEntries);
     65        combobox.setEditable(editable); // see #6157
    6566        AutoCompletingTextField tf = new AutoCompletingTextField();
    6667        initAutoCompletionField(tf, key);
Note: See TracChangeset for help on using the changeset viewer.