Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嘿伙计们,我有一个奇怪的问题。如果我在情节提要编辑器中创建一个自定义按钮并想为其添加标题,它会出现在按钮的右侧,但它应该放在按钮顶部的中心。我检查了所有的偏好,但找不到它为什么不起作用。任何想法为什么它会这样?
它使用 Xcode 4.5 对我有用,看看截图:
您应该检查 Control 下的 Alignment 属性(显示在右下角)。如果您为水平和垂直选择中心选项,您应该得到与图像显示相同的结果。