I get this stupid warning in Xcode 4
Clipped Content
View is clipping its content
if I create an unbordered bevel button with an image bigger then the button itself.
Why? How can i suppress it?
I had a similar problem with a gray warning.
"Warning: Clipped Content. View is clipping its content in
XXXX.xib
"
I got rid of the warning by right clicking on XXXX.xib
> Open As
> Source Code
.
After building again in xcode the warning was gone.
Change scaling according to your requirement. It will solve it.
as far as i know you can't suppress specific xib notices, but you can disable them in general. in project->settings (or target->settings if you have multiple targets and only want to do it for one/some), there is the "Interface Builder XIB Compiler - Options" section which includes "Show Notices". if you set this to No then you should stop seeing this message. of course, it may mean you miss out on other messages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With