Set label class in field constructor