Moved lastLenght calculation to paint method to avoid unexpected behavior after widget repaint
Moved lastLenght calculation to paint method to avoid unexpected behavior after widget repaint

galan/jalita,galan/jalita