Added textWidth and textHeight attributes to 'label' style.