- June 6, 2021 at 3:16 pm
i created a bullet point list with some textfields, seperated by lines plus a margin between the fields and the lines. The fields and lines are dynamically connected.
The List should have a Background Image (no shape), with a fixed base size which allready exists. The image height should be scaled up or down if the list gets longer or shorter, because of more or less text.
In my opinion i need to get the height of all objects together a use this value to scale up the image height.
currently i would use sourceRectAtTime, to get the height of every object, the lines and the Margin and multiply them. Text 1 + Line + Margin + Tex 2 + Line + Margin …
- June 10, 2021 at 3:48 pm
I think you should calculate the top point of the first element and the bottom point of the last and size your image according to the difference between these two.
Log in to reply.