[TYPO3-core] RFC Feature #10725: Integrate possibility to determine maximum of multiple values in GIFBUILDER
Christian Kuhn
lolli at schwarzbu.ch
Sat Apr 11 12:47:22 CEST 2009
Hi.
Oliver Hader wrote:
> Problem:
> Imagine you've two different and dynamically controlled elements in a
> GIFBUILDER object, e.g. a capital letter and then some more small text.
> It's not possible to determine the height of the whole element easily.
>
> Solution:
> Integrate a max() function for calculation offsets, like:
> XY = [10.w]+[20.w], max([10.h], [20.h])
> Thus, the height in the example is the maximum of the values in 10.h and
> 20.h.
> If the "max()" keyword is found in the string the inner content gets
> pre-calculated before the regular process in calcOffset().
+1 on reading and testing.
Nice patch! Combination with #10666 works well, too.
Regards
Christian
More information about the TYPO3-team-core
mailing list