Opened 6 years ago

Last modified 5 years ago

#19472 new enhancement

Tagging preset: Column width as option for checkgroup — at Version 1

Reported by: skyper Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report tagging preset checkgroup column width Cc:

Description (last modified by skyper)

Checkgroup do not line up well and the with of the column is unpredictable. Could we have a new option col_width="" with a length or list of lengths as values to define strict column widths. Thanks for your work.

This came up in #19382, where I did take the snips below from.

<item name="Checks">
<checkgroup columns="3">
   <check key="bus"         text="Bus" icon="presets/transport/bus.svg" />
   <check key="trolleybus"  text="Trolleybus" icon="presets/transport/trolleybus.svg" />
   <check key="share_taxi"  text="Share taxi" icon="presets/transport/share_taxi.svg" />
</checkgroup>
<checkgroup columns="4">
    <check key="train"      text="Train" icon="presets/transport/train.svg" />
    <check key="light_rail" text="Light Rail" icon="presets/transport/railway/light_rail.svg" />
    <check key="subway"     text="Subway" icon="presets/transport/railway/subway.svg" />
    <check key="tram"       text="Tram" icon="presets/transport/railway/tram.svg" />
</checkgroup>
<checkgroup columns="2">
    <check key="monorail"   text="Monorail" icon="presets/transport/railway/monorail.svg" />
    <check key="funicular"  text="Funicular" icon="presets/transport/railway/funicular.svg" />
    <check key="aerialway"  text="Aerialway" icon="presets/transport/aerialway/station.svg" />
    <check key="ferry"      text="Ferry" icon="presets/nautical/ferry.svg" />
</checkgroup>
</item>
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-06-29 17:21:45 +0200 (Mon, 29 Jun 2020)
Revision:16729
Build-Date:2020-06-30 01:30:49
URL:https://josm.openstreetmap.de/svn/trunk

Change History (1)

comment:1 by skyper, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.