use the painter fontMetrics() to obtain the right text size
Merge pull request #87 from in3otd/comp_text_move

use the painter fontMetrics() to obtain the right text size