mutualmobile / MMProgressHUD

An easy-to-use HUD interface with personality.
MIT License
705 stars 131 forks source link

Status message is cut the first time the hud is displayed #18

Closed yageek closed 10 years ago

yageek commented 10 years ago

The first time I use the hud with only a status message, the label is cut the first time it is displayed. Then it works normally.

The problem is due to the boundingRectWithSize:options:context: that send a wrong size the first time it is called in the statusSizeForMessageTextmethod.

You can find the source of the project I use to reproduce the problem : https://dl.dropboxusercontent.com/u/71031164/github/MMProgressHudBug.zip

There are some questions related to this problem on stackoverflow (here, here)