12

Is there a way to add a margin / padding to a WKInterfaceLabel in Watchkit? Using UIEdgeInsets doesn't work.

joern
  • 27,354
  • 7
  • 90
  • 105
Franlon
  • 147
  • 6

2 Answers2

22

You should create a WKInterfaceGroup and add the WKInterfaceLabel inside the group. You can manage the margin/padding using that group.

enter image description here

Javier Flores Font
  • 2,075
  • 15
  • 13
1

In your storyboard add your WKInterfaceLabel to a WKInterfaceGroup. Then in the properties for the group set the insets to custom. You can change the top, left, bottom, and right insets for the group.

enter image description here

Stephen Johnson
  • 5,293
  • 1
  • 23
  • 37