Introduces configurable width factor

This commit allows to configure the factor by which the element's width is divided by in order to calculate the font size.