Xcode 4.3 未在 Size Inspector 中显示 Autoresizing 面板 [英] Xcode 4.3 not presenting Autoresizing panel in Size Inspector
问题描述
在 Xcode 4.3 中,我在 Attributes Size Inspector 中没有看到Autoresizing"面板(带有红色十字线).
我看到的是两个面板,一个标题为Content Hugging Priority",另一个标题是Content Hugging Priority"标题为内容压缩抵抗优先".
除了让我感到困惑之外,他们似乎如果我调整他们的设置,对任何事情都没有影响.
在 4.3 安装之前开始的项目中,我仍然得到 Autoresizing 红线的东西,但是对于 4.3 创建的项目,我目前无法控制视图控件的位置和大小行为.
对于 Xcode 4.3 自动布局默认启用.禁用取消选择文件检查器选项卡中的使用自动布局"选项.
In Xcode 4.3 I'm not seeing the "Autoresizing" panel (with the red crosshair things) in the Attributes Size Inspector.
What I see instead are two panels, one titled "Content Hugging Priority" and the other titled "Content Compression Resistance Priority".
Other than baffling me, they seem to no effect on anything if I adjust their settings.
In projects started before 4.3 installation I still get the Autoresizing red line things, but for 4.3 created projects I am currently unable to control the location and size behavior of view controls.
For Xcode 4.3 auto layout is enabled by default. To disable deselect the "use auto layout" option in the file inspector tab.
这篇关于Xcode 4.3 未在 Size Inspector 中显示 Autoresizing 面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!