Get size of auto-wrapped text in size box

Get desired size returns the same size of auto-wrapped text of one string, even i have more than one.

Perhaps you called the function immediately after setting the text which hasn’t calculated the desired dimensions yet. I use it inside a bind function to the text content. GetDesiredSize() then gives many values (probably set by different stages applied to the text - visibility, resizing, new text. It will eventually settle on a correct 2D dimension.