Changeset 18307 in josm for trunk/resources


Ignore:
Timestamp:
2021-11-03T13:25:59+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #21508 - Remove empty rows from multiselect (patch by skyper)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r18296 r18307  
    22352235                <reference ref="POI_access" />
    22362236                <combo key="surface" text="Surface" values="gravel,pebblestone,sand" />
    2237                 <multiselect key="sport" text="Sport" values="swimming;surfing" rows="3"/>
     2237                <multiselect key="sport" text="Sport" values="swimming;surfing" rows="2"/>
    22382238                <combo key="nudism" text="Nudism" values="yes,no,obligatory,designated,customary,permissive" />
    22392239            </optional>
     
    28152815            <reference ref="car_brands" />
    28162816            <reference ref="name_operator_oh_wheelchair" />
    2817             <multiselect key="service" text="Service" text_context="shop=car_repair" values="dealer;repair;parts;tyres" rows="5" />
     2817            <multiselect key="service" text="Service" text_context="shop=car_repair" values="dealer;repair;parts;tyres" rows="4" />
    28182818            <reference ref="link_contact_address_payment" />
    28192819        </item> <!-- Repair -->
     
    35623562            <key key="amenity" value="animal_boarding" />
    35633563            <text key="name" text="Name" />
    3564             <multiselect key="animal_boarding" text="Type" values="bird;cat;dog;duck;horse;mammal;wildlife" values_searchable="true" />
     3564            <multiselect key="animal_boarding" text="Type" values="bird;cat;dog;duck;horse;mammal;wildlife" values_searchable="true" rows="7" />
    35653565            <reference ref="oh_wheelchair" />
    35663566            <reference ref="link_contact_address_payment" />
     
    41114111            <space />
    41124112            <key key="amenity" value="gambling" />
    4113             <multiselect key="gambling" text="Type" values="yes;lottery;pachinko;slot_machines;bingo;betting;poker" />
     4113            <multiselect key="gambling" text="Type" values="yes;lottery;pachinko;slot_machines;bingo;betting;poker" rows="7" />
    41144114            <reference ref="name_operator_oh_wheelchair" />
    41154115            <reference ref="min_age" />
     
    44304430            <reference ref="name_operator_oh_wheelchair" />
    44314431            <reference ref="min_age" />
    4432             <multiselect key="isced:level" text="ISCED level" values="0;1;2;3;4" rows="6" />
     4432            <multiselect key="isced:level" text="ISCED level" values="0;1;2;3;4" rows="5" />
    44334433            <reference ref="link_contact_address" />
    44344434            <preset_link preset_name="Building" />
     
    44394439            <key key="amenity" value="university" />
    44404440            <reference ref="name_operator_oh_wheelchair" />
    4441             <multiselect key="isced:level" text="ISCED level" values="4;5;6;7;8" rows="6" />
     4441            <multiselect key="isced:level" text="ISCED level" values="4;5;6;7;8" rows="5" />
    44424442            <reference ref="link_contact_address" />
    44434443        </item> <!-- University -->
     
    44474447            <key key="amenity" value="college" />
    44484448            <reference ref="name_operator_oh_wheelchair" />
    4449             <multiselect key="isced:level" text="ISCED level" values="3;4;5;6;7" rows="6" />
     4449            <multiselect key="isced:level" text="ISCED level" values="3;4;5;6;7" rows="5" />
    44504450            <reference ref="link_contact_address" />
    44514451        </item> <!-- College -->
     
    45484548            <key key="amenity" value="animal_shelter" />
    45494549            <text key="name" text="Name" />
    4550             <multiselect key="animal_shelter" text="Type" values="bird;cat;dog;duck;horse;mammal;wildlife" values_searchable="true" />
     4550            <multiselect key="animal_shelter" text="Type" values="bird;cat;dog;duck;horse;mammal;wildlife" values_searchable="true" rows="7" />
    45514551            <reference ref="oh_wheelchair" />
    45524552            <reference ref="link_contact_address_payment" />
     
    46864686            <space />
    46874687            <combo key="siren:type" text="Type" values="pneumatic,electronic,mechanical" />
    4688             <multiselect key="siren:purpose" text="Purpose" values="tornado;fire;air_raid;civil_defense" rows="5" values_searchable="true" />
     4688            <multiselect key="siren:purpose" text="Purpose" values="tornado;fire;air_raid;civil_defense" values_searchable="true" rows="4" />
    46894689            <text key="siren:range" text="Range (meters)" />
    46904690        </item> <!-- Siren -->
     
    50225022            <reference ref="name_ref_operator" />
    50235023            <reference ref="fee" />
    5024             <multiselect key="valves" text="Valves" values="dunlop;schrader;sclaverand;regina" rows="5" display_values="Dunlop (Woods);Schrader;Sclaverand (Presta);Regina" values_searchable="true" />
     5024            <multiselect key="valves" text="Valves" values="dunlop;schrader;sclaverand;regina" display_values="Dunlop (Woods);Schrader;Sclaverand (Presta);Regina" values_searchable="true" rows="4" />
    50255025        </item> <!-- Compressed Air -->
    50265026        <separator/>
Note: See TracChangeset for help on using the changeset viewer.