[fix bug]
need add paddingTop

Signed-off-by: seekting <seekting@gmail.com>
[MERGE] seekting changes (add left and top paddings into calculations)