1 Modify redraw mechanism.
2 Auto adjust text size.
3 Adjust the position of text.
Merge pull request #2 from jacklai24/master

1. Modify redraw mechanism.  2. Auto adjust text size.  3. Adjust the position of text.