[BUGFIX] Correct automatic grid column calculation for forms 03/56103/5
authorBenjamin Kott <benjamin.kott@wfp2.com>
Mon, 12 Mar 2018 09:23:15 +0000 (10:23 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 12 Mar 2018 19:53:14 +0000 (20:53 +0100)
commit521307596498937d1153efb5e39f2e09ecfaac8b
tree4f1d07011e9f3203b9637c1cacff7b3273cc8df4
parentcd2eead7e7772133f2408efd10b591a2a8dc9360
[BUGFIX] Correct automatic grid column calculation for forms

The calculation now only includes direct children of the
row elements to produce a meaningful division
of the available space. If the available space is already
consumed by elements the next auto calculated
elements will now consume the space of a full row.

Resolves: #84207
Releases: master, 8.7
Change-Id: I5dabddbcd8c7b84236fdbbef3925d27197e99a39
Reviewed-on: https://review.typo3.org/56103
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/form/Classes/ViewHelpers/GridColumnClassAutoConfigurationViewHelper.php