Changeset 16482 in josm


Ignore:
Timestamp:
2020-05-23T17:35:12+02:00 (4 years ago)
Author:
Klumbumbus
Message:

see #19013 - Add rows to multiselects with less than 7 values. Use value+1 as rows due to the display bug.

File:
1 edited

Legend:

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

    r16481 r16482  
    519519      <combo key="climbing:orientation" text="Orientation" values="N,NE,E,SE,S,SW,W,NW" values_no_i18n="true" values_sort="false"/>
    520520      <combo key="climbing:quality" text="Rock/ice quality" values="fragile,medium,solid" />
    521       <combo key="climbing:rock" text="Rock type" rows="3" values="limestone,sandstone,granite,basalt,slate" />
     521      <combo key="climbing:rock" text="Rock type" values="limestone,sandstone,granite,basalt,slate" />
    522522      <check key="climbing:summit_log" text="Summit/route log/register" />
    523523      <check key="indoor" text="Climbing routes indoor" />
     
    23702370            <reference ref="car_brands" />
    23712371            <reference ref="name_operator_oh_wheelchair" />
    2372             <multiselect key="service" text="Service" text_context="shop=car_repair" values="dealer;repair;parts;tyres" />
     2372            <multiselect key="service" text="Service" text_context="shop=car_repair" values="dealer;repair;parts;tyres" rows="5" />
    23732373            <reference ref="link_contact_address_payment" />
    23742374        </item> <!-- Repair -->
     
    37923792            <reference ref="name_operator_oh_wheelchair" />
    37933793            <reference ref="min_age" />
    3794             <multiselect key="isced:level" text="ISCED level" values="0;1;2;3;4" />
     3794            <multiselect key="isced:level" text="ISCED level" values="0;1;2;3;4" rows="6" />
    37953795            <reference ref="link_contact_address" />
    37963796            <preset_link preset_name="Building" />
     
    38013801            <key key="amenity" value="university" />
    38023802            <reference ref="name_operator_oh_wheelchair" />
    3803             <multiselect key="isced:level" text="ISCED level" values="4;5;6;7;8" />
     3803            <multiselect key="isced:level" text="ISCED level" values="4;5;6;7;8" rows="6" />
    38043804            <reference ref="link_contact_address" />
    38053805        </item> <!-- University -->
     
    38093809            <key key="amenity" value="college" />
    38103810            <reference ref="name_operator_oh_wheelchair" />
    3811             <multiselect key="isced:level" text="ISCED level" values="3;4;5;6;7" />
     3811            <multiselect key="isced:level" text="ISCED level" values="3;4;5;6;7" rows="6" />
    38123812            <reference ref="link_contact_address" />
    38133813        </item> <!-- College -->
     
    40334033            <space />
    40344034            <combo key="siren:type" text="Type" values="pneumatic,electronic,mechanical" />
    4035             <multiselect key="siren:purpose" text="Purpose" values="tornado;fire;air_raid;civil_defense" values_searchable="true" />
     4035            <multiselect key="siren:purpose" text="Purpose" values="tornado;fire;air_raid;civil_defense" rows="5" values_searchable="true" />
    40364036            <text key="siren:range" text="Range (in meters)" />
    40374037        </item> <!-- Siren -->
     
    43674367            <reference ref="name_ref_operator" />
    43684368            <reference ref="fee" />
    4369             <multiselect key="valves" text="Valves" values="dunlop;schrader;sclaverand;regina" display_values="Dunlop (Woods);Schrader;Sclaverand (Presta);Regina" values_searchable="true" />
     4369            <multiselect key="valves" text="Valves" values="dunlop;schrader;sclaverand;regina" rows="5" display_values="Dunlop (Woods);Schrader;Sclaverand (Presta);Regina" values_searchable="true" />
    43704370        </item> <!-- Compressed Air -->
    43714371        <separator/>
Note: See TracChangeset for help on using the changeset viewer.