Added sizeThatFits logic and automaticallyAdjustTextInsets property.