display.newText with auto-adjustable font size

Hi,
I would like to display a text label on a screen - but the text will change based on user’s choices. Hence, instead of doing something like this:
[lua] local msg = display.newText(“Congratulations, Sith Master”, 50, 40, “Kristen ITC”, 30)[/lua]

I would prefer something that’s in iOS’s UILablel, so something like this:
[lua] local msg = newTextInsideBounds({text=“Congratulations, Sith Master”,
font=“Kristen ITC”,
size=30,
x=50,
y=40,
width=250,
height=150})[/lua]

Then I would expect this text to be size of 30 as long as it fits the width/height declared - and if not, lower size.

Is something like this implemented somewhere? Or should I try to get my own code for that?

thanks [import]uid: 120659 topic_id: 28641 reply_id: 328641[/import]