Dynamic data - also add number of max lines to limit text length

I suggest looking at this video. Seems like the solution to both.