View is clipping its content warnings when using images on toolbar buttons
View is clipping its content warnings when using images on toolbar buttons
- Subject: View is clipping its content warnings when using images on toolbar buttons
- From: Markus Spoettl <email@hidden>
- Date: Mon, 30 Jun 2008 22:39:53 -0700
Hello,
I have a toolbar with round textured buttons that show 11x11 pixel
images without text. I keep getting those clipping view warnings for
each of the buttons. The buttons are 40x25 pixels in size. It would
appear to me that that is more than enough to accommodate the images.
The warning reads:
View is clipping its content / Line Location my.xib: 100443
When I remove the image from the button, the corresponding warning
goes away, so it's definitely related to the images.
The buttons are NSButton class with the following properties:
Title: <empty>
Alt Title: <empty>
Image: PNG 11x11 pixel, template style (black and shades of gray
with alpha)
Alt Image: <empty>
Scaling: Proportionally down
Style: Round Textured
Mode: Push On Push Off
Position: Image Only
Alignment: Centered
Visual: Bordered
Size: 40x25
Interestingly IB does not show warnings, they come up when compiling
the application in Xcode.
I'm using Xcode 3.0 on 10.5.3
What am I doing wrong?
Thanks!
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden