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

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

问题描述

大家好,我有新的 watchkit 开发,我有特殊要求,我在另一个 WKInterfaceLabel 下方安排了一个 WKInterfaceLabel,我尝试了很多关闭选项,例如编辑位置,但 WKInterfaceLabel 设置不正确,请您帮我解决这个问题.

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)第一个WKInterfaceLabel的位置

1)Position of the first WKInterfaceLabel

2) 第二个 WKInterfaceLabel 的位置

2) Position of the second WKInterfaceLabel

3) 实际设计

4)在界面文件中显示

推荐答案

我不是很清楚你的问题,但是如果你想按照你的意愿排列标签,你应该使用Group并改变位置,大小标签的宽度和高度.在您的 displayInterface 文件中,您的界面外可能有一个标签.如果需要,您可以在 Xcode 右侧的属性窗口中更改组的垂直或水平排列元素

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天全站免登陆