To fit a text we can use TextWidth and TextHeight. Manual said [quote:uh2h8d92]Return the size of the actual text content within the text object's rectangle. Note the Text object must be drawn before these have the correct values. If you set the text then immediately access these expressions, they won't yet have the correct value. Adding a 'Wait 0.1 seconds' action will usually solve this.
But Wait is not a very good solution in here . If you have a fast machine this will be no problem. But if you have a slow mobile machine 0.1 seconds maybe will not enough. Giving a higher value is meaningless. So instead of Wait is there a option to check Text is drawn?