gpt4 book ai didi

ios - 按钮内图像下方的 Storyboard 定位文本

转载 作者:IT王子 更新时间:2023-10-29 07:39:57 24 4
gpt4 key购买 nike

我可以为按钮设置图像和文本。但它是水平对齐的。我希望图像和文本在按钮内垂直对齐。即,图片下方的文字

如何使用 Storyboard进行这些更改?

我想要的是:

enter image description here

我现在得到的是: enter image description here

最佳答案

如果你正在寻找这样的输出

Button Image with Text

1) 选择按钮并转到 Storyboard中的Attribute Inspector 以获得按钮大小为 50*50 的结果

enter image description here

2) 现在设置按钮的标题插入

enter image description here

关于ios - 按钮内图像下方的 Storyboard 定位文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37915212/

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