1

I need to have one label above another, but if labels are inside of table view cell its impossible. Label at the bottom shifted to the right, just where label on top finishes.

How to make them start from the the same X but different Y?

Thanks in advance

enter image description here

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
vitalii
  • 191
  • 2
  • 8
  • We can make it. Please refer this you will get some idea to do http://stackoverflow.com/questions/27841719/watchkit-how-to-set-the-element-one-below-other-in-group – Yano Feb 10 '15 at 06:29
  • You can also make custom cell for table view – Mrugesh Tank Feb 10 '15 at 08:19

1 Answers1

6

WKInterfaceGroup will allow you to accomplish this.

  1. Add a Group to the Table Row.
  2. Set the Group 'Layout' to 'Vertical' in Interface Builder.
  3. Move both Labels to subviews of the Group
  4. Adjust their 'Position' to Left/Right accordingly. WatchKit - Interface Group
phillfarrugia
  • 654
  • 6
  • 10