gpt4 book ai didi

iphone - Apple Watch 中的布局

转载 作者:行者123 更新时间:2023-12-03 20:18:24 29 4
gpt4 key购买 nike

我正在为 Apple Watch 制作计算器,我插入了一个组,并在其中添加了 4 个按钮,但我找不到任何应在 Apple Watch 屏幕上调整这 4 个按钮的选项。

苹果 watch 38 毫米

Screenshot

苹果 watch 42 毫米

Screenshot

组属性

Screenshot

按钮属性

enter image description here

最佳答案

每行使用一个 WKInterfaceGroup,并在大小检查器中将“相对于容器”宽度设置为 1,高度设置为 0.18。

enter image description here

在每个组布局中,您的 WKInterfaceButtons 设置相对于容器高度为 1,宽度为 0.25(每行 4 个元素)。

enter image description here

38mm 的最终结果:

enter image description here

和 42mm:

enter image description here

关于iphone - Apple Watch 中的布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27033652/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com