How to put one WKInterfaceLabel below WKInterfaceLabel?

本小妞迷上赌 提交于 2019-12-11 02:35:00

问题


hello all i have new in watchkit development and i have special requirement in which i arrange one WKInterfaceLabel below another WKInterfaceLabel, i try with lots off option like edit postions but WKInterfaceLabel is not set properly can you please help me in this.

1)Position of the first WKInterfaceLabel

2) Position of the second WKInterfaceLabel

3) Actual Design

4)Display in Interface file


回答1:


I don't know clearly about your question, but if you want to arrange the label as you want, you should use the Group and change the position, size of width, and height of label. In your displayInterface File, may be you have one Label out side of your interface. you can change the vertical or horizontal arrange element of group if you want at attribute Window at the right side of Xcode




回答2:


I hope you are adding both WKInterfaceLabel vertically in WKInterfaceGroup. Set vertical position of both labels as Top.



来源:https://stackoverflow.com/questions/29485735/how-to-put-one-wkinterfacelabel-below-wkinterfacelabel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!