Changeset 6114 in josm for trunk/data/defaultpresets.xml


Ignore:
Timestamp:
2013-08-06T23:48:20+02:00 (7 years ago)
Author:
Don-vip
Message:

fix #8735 - Presets: add new checkgroup item to specify group of checkboxes on multiple columns

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6044 r6114  
    8989  match: none/key/key!/keyvalue (default is "none", see below for more information)
    9090
     91checkgroup: group of checks
     92  columns: number of columns
     93
    9194check: checkbox
    9295  key: key to set
     
    24272430                <combo key="shop" text="With shop" values="yes,convenience,kiosk,no" />
    24282431                <label text="Fuel types:" />
    2429                 <check key="fuel:diesel" text="Diesel" default="off" />
    2430                 <check key="fuel:biodiesel" text="Bio Diesel" default="off" />
    2431                 <check key="fuel:GTL_diesel" text="Diesel (Gas To Liquid - ultimate diesel)" default="off" />
    2432                 <check key="fuel:HGV_diesel" text="Diesel for Heavy Good Vehicles" default="off" />
    2433                 <check key="fuel:octane_80" text="Octane 80" default="off" />
    2434                 <check key="fuel:octane_91" text="Octane 91" default="off" />
    2435                 <check key="fuel:octane_92" text="Octane 92" default="off" />
    2436                 <check key="fuel:octane_95" text="Octane 95" default="off" />
    2437                 <check key="fuel:octane_98" text="Octane 98" default="off" />
    2438                 <check key="fuel:octane_100" text="Octane 100" default="off" />
    2439                 <check key="fuel:e10" text="E10 (10% Ethanol mix)" default="off" />
    2440                 <check key="fuel:e85" text="E85 (85% Ethanol mix)" default="off" />
    2441                 <check key="fuel:lpg" text="LPG (Liquefied petroleum gas)" default="off" />
    2442                 <check key="fuel:cng" text="CNG (Compressed Natural Gas)" default="off" />
    2443                 <check key="fuel:1_25" text="1/25 mix (mofa/moped)" default="off" />
    2444                 <check key="fuel:1_50" text="1/50 mix (mofa/moped)" default="off" />
     2432                <checkgroup columns="2">
     2433                    <check key="fuel:diesel" text="Diesel" default="off" />
     2434                    <check key="fuel:biodiesel" text="Bio Diesel" default="off" />
     2435                    <check key="fuel:GTL_diesel" text="Diesel (Gas To Liquid - ultimate diesel)" default="off" />
     2436                    <check key="fuel:HGV_diesel" text="Diesel for Heavy Good Vehicles" default="off" />
     2437                    <check key="fuel:octane_80" text="Octane 80" default="off" />
     2438                    <check key="fuel:octane_91" text="Octane 91" default="off" />
     2439                    <check key="fuel:octane_92" text="Octane 92" default="off" />
     2440                    <check key="fuel:octane_95" text="Octane 95" default="off" />
     2441                    <check key="fuel:octane_98" text="Octane 98" default="off" />
     2442                    <check key="fuel:octane_100" text="Octane 100" default="off" />
     2443                    <check key="fuel:e10" text="E10 (10% Ethanol mix)" default="off" />
     2444                    <check key="fuel:e85" text="E85 (85% Ethanol mix)" default="off" />
     2445                    <check key="fuel:lpg" text="LPG (Liquefied petroleum gas)" default="off" />
     2446                    <check key="fuel:cng" text="CNG (Compressed Natural Gas)" default="off" />
     2447                    <check key="fuel:1_25" text="1/25 mix (mofa/moped)" default="off" />
     2448                    <check key="fuel:1_50" text="1/50 mix (mofa/moped)" default="off" />
     2449                </checkgroup>
    24452450            </optional>
    24462451        </item>
Note: See TracChangeset for help on using the changeset viewer.