如何将一个WKInterfaceLabel放在WKInterfaceLabel之下? [英] How to put one WKInterfaceLabel below WKInterfaceLabel?

查看:83
本文介绍了如何将一个WKInterfaceLabel放在WKInterfaceLabel之下?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我在watchkit开发中有新手,并且我有一个特殊要求,即我将一个WKInterfaceLabel安排在另一个WKInterfaceLabel下,我尝试了很多编辑选项,例如编辑位置,但WKInterfaceLabel设置不正确,您能帮我这个忙吗.

1)第一个WKInterfaceLabel的位置

2)第二个WKInterfaceLabel的位置

3)实际设计

4)在界面文件中显示

解决方案

我不清楚您的问题,但是如果您想根据需要排列标签,则应使用网上论坛"并更改位置,大小标签的宽度和高度. 在displayInterface文件中,可能是您的界面外面有一个Label.您可以在Xcode右侧的属性Window中更改组的垂直或水平排列元素.

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

解决方案

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

这篇关于如何将一个WKInterfaceLabel放在WKInterfaceLabel之下?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆