Changeset 16046 in josm
- Timestamp:
- 2020-03-06T00:23:38+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java
r16045 r16046 141 141 142 142 // Cache size 143 item.preferredWidth = lbl.getPreferredSize().width;144 item.preferredHeight = lbl.getPreferredSize().height;143 item.preferredWidth = (short) lbl.getPreferredSize().width; 144 item.preferredHeight = (short) lbl.getPreferredSize().height; 145 145 146 146 // We do not want the editor to have the maximum height of all … … 225 225 226 226 /** Cached width (currently only for Combo) to speed up preset dialog initialization */ 227 public int preferredWidth = -1; // NOSONAR227 public short preferredWidth = -1; // NOSONAR 228 228 /** Cached height (currently only for Combo) to speed up preset dialog initialization */ 229 public int preferredHeight = -1; // NOSONAR229 public short preferredHeight = -1; // NOSONAR 230 230 231 231 /**
Note:
See TracChangeset
for help on using the changeset viewer.