Fix color. Added pixels that the font is reduced. Beter algorithm to get the size of the layout