缺少 NSView 的 Autosizing 属性设置 [英] The Autosizing property setting for NSView is missing

查看:56
本文介绍了缺少 NSView 的 Autosizing 属性设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天遇到了这个非常令人沮丧的问题.

I ran into this really frustrating issue today.

我想像这样将我的视图设置为自动调整大小:

I want to set my view to be autosizing like this:

但是我在我的 xcode 设置中找到的 NSView 是这样的:

But all I find in my xcode settings for an NSView is like this:

两张截图来自两个不同的项目,使用相同的 xcode 4.3.2.这是一个错误还是我遗漏了什么?

The two screenshots are taken from two different projects with the same xcode 4.3.2. Is this a bug or am I missing something?

谢谢.

推荐答案

Seaid 的解决方案有效.但我认为这是错误,因为当切换到另一个检查器时,自动调整大小工具会出现大约半秒.

Seaid's solution works. but i think it's bug because the auto sizing tool will apear about half a second when switching to another inspector.

Xcode 4 界面构建器问题

这篇关于缺少 NSView 的 Autosizing 属性设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆