title: how to add padding to a UILabel who's text includes a NSBackgroundColorAttributeName
body: <p>I'm having trouble trying to figure out a way to add padding to my UILabel which includes an attributed string that contains a background color for text.</p>
  
  <p><img src="https://i.stack.imgur.com/ha9yz.png" alt=""></p>
  
  <p>as shown in the image, there isn't any left padding on the label's text - i need to be able to add some padding to the left and the right.
  here is my current code:</p>
  
  <pre><code>var attributedString = NSMutableAttributedString(string: "\(blueHighlightedText)")
  attributedString.addAttribute(NSBackgroundColorAttributeName, value: UIColor(red: 0.369, green: 0.718, blue: 0.882, alpha: 0.83), range: NSMakeRange(0, blueHighlightedText.bridgeToObjectiveC().length))
  attributedString.addAttribute(NSParagraphStyleAttributeName, value: paragraphStyle, range: NSMakeRange(0, blueHighlightedText.bridgeToObjectiveC().length))
  attributedString.addAttribute(NSKernAttributeName, value: -0.35, range: NSMakeRange(0, blueHighlightedText.bridgeToObjectiveC().length))
  
  attributedText = NSAttributedString(attributedString: attributedString)
  </code></pre>
  
  <p>How can i add padding to this?</p>