I was trying to set the Alert size in a theme so that it would usually have a fixed width but when neccessary because of long strings change the width to 2/3 of the display width
So in the theme I set:
alert.minWidth = ALERTMINWIDTH;
alert.maxWidth = Starling.current.stage.stageWidth*0.66 - padding* 2
With this the alert is always the maxWidth even if the strings are short.
How can I resolve that?