#{this.label}
${#!coffee @labelPadding = 12 @themeStyle = -> _labelHeight = (@rect.height-4)+'px' _fontSize = Math.floor(@rect.height*0.5)+'px' for [_key,_value] in [ ['height',_labelHeight], ['lineHeight',_labelHeight], ['fontSize',_fontSize] ] @setStyleOfPart('label',_key,_value) unless @options.style? and @options.style[_key]? _radius = Math.floor(@rect.height / 6)+'px' @setStyleOfPart('bg','borderRadius',_radius) }