I created a Preset for JOSM (version 7777) that includes the following lines: A. <text key="description" text="Description" default="" delete_if_empty="true" rows="3"/> B. <multiselect key="amenity" delimiter="," text="Amenity" values="restaurant,bar" default="" delete_if_empty="true" rows="3"/> A. always gives 1 row, B. always 8, whatever value I use in rows. What am I doing wrong? Thanks asked 27 Dec '14, 16:55 Jan van Bekkum |
The rows attribute doesn't seem to occur anywhere in the presets xml template definition (linked from here). answered 28 Dec '14, 10:15 EdLoach ♦ Documentation is now in the JOSM wiki under Tagging Presets and rows does exist for quite some time now.
(12 Feb '15, 23:23)
skyper
|
Where did you learn about the rows attribute ? I cannot find an example in the default JOSM presets. AFAIK the UI for a description is a text box with 1 line, never seen one with multiple lines.
Perhaps those numbers cannot be changed.
rows is only valid for <multiselect> so only B. should work. See Tagging Presets
If not please fill a bug.Was fixed see https://josm.openstreetmap.de/ticket/10941By the way, be careful with changing the delimiter from default semi-colon. It is only useful in special cases and the delimiter will be used also in the value if more than one is used.