﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20792	Tagging preset: columns in checkgroup not fully respected	skyper	simon04	"==== What steps will reproduce the problem?
1. In a tagging preset have a `<checkgroup>` with more checks than the value of columns and no multiple of the value, [#example see below].

==== What is the expected result?
Still the number of columns is always respected

==== What happens instead?
Columns are evenly filled per rows which might lead to less columns

==== Please provide any additional information below. Attach a screenshot if possible.
I want to be able to add six checks in two rows but use all four columns and only have two checks in the second row. Using two checkgroups does not work as the placement is calculated for each checkgroup, see #19472.

[=#example]
{{{
#!preset
        <checkgroup columns=""4"">
            <check key=""bridge"" text=""Bridge"" disable_off=""true"" />
            <check key=""tunnel"" text=""Tunnel"" disable_off=""true"" />
            <check key=""embankment"" text=""Embankment"" disable_off=""true"" />
            <check key=""cutting"" text=""Cutting"" disable_off=""true"" />
            <check key=""oneway"" text=""Oneway"" />
            <check key=""lit"" text=""Lit"" />
        </checkgroup>
}}}


{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-04-21 17:31:06 +0200 (Wed, 21 Apr 2021)
Revision:17812
Build-Date:2021-04-22 01:30:59
URL:https://josm.openstreetmap.de/svn/trunk
}}}
"	defect	closed	normal	21.04	Core	latest	fixed	template_report tagging preset checkgroup column	
