视图正在剪切其内容错误 [英] View is Clipping its Content error

查看:109
本文介绍了视图正在剪切其内容错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 4.6。在一个窗口中,我一直得到这个视图正在剪切其内容错误,当我点击它时,XIB编辑器会突出显示一个标签。试图告诉我以及如何解决这个错误是什么?

I'm using Xcode 4.6. In a window I keep getting this "view is clipping its content" error and when I click on it, the XIB editor highlights a label. What is this error trying to tell me and how to I fix it?

推荐答案

首先,点击文本View is clipping ...将选择有问题的控件。当您调整文本字段太小而内部文本字段单元格不适合时,会发生这种情况。放大控件会使警告消失。您也可以选择内部单元格并转到尺寸检查器以查看是否有选项可以使其更小以匹配您所需的整体尺寸。

First, clicking on the text "View is clipping..." will select the control that has the issue. it happens when you resize a text field too small for the inner text field cell to fit in. enlarging the control makes warning disappear. you can also select the inner cell and go to size inspector to see if there are options to make it smaller to match your desired overall size.

这篇关于视图正在剪切其内容错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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