Superalert text size not working


When setting the text size for a superalert message, setting the size for the text to display in the superalert dialog does not work.

superalert STUFF, “{title=”+lTitle+{ scroll=“yes” size=64 style=“bold” bgcolor=“aqua” color=“red” height=3in width=7in buttons=“OK”}

does not display the text in 64 points…


It does work if you leave the style plain.

But if the style is changed to bold, as you have done, it doesn’t work. I have filed a bug report on this.

For now, here is a workaround that does work:

superalert "<size:64><b>hello",{width=500 height=200 size=64 style=rich}

Instead of setting the style to bold, set it to rich, then insert the tags for the style you want. By the way, using the rich option you can have multiple styles in the alert (or any Text Display object). This is covered in Text Objects video session, nearly half of that session is devoted to rich styled text.