Hello. Quick question. I'm using NSDrawThreePartImage and for the most part it works. But when the height of the views changes it's scaling the left and right edges. I'm just not sure if it's supposed to be doing that?
Here are some images to see what's happening: http://i.imgur.com/LviD0.png - normal, the component size is the same size as the source image. http://i.imgur.com/Wzvc3.png - this is normal looking when just the width is changed. http://i.imgur.com/cikiL.png - as soon as the height is changed, it's scaling everything. This can't be right? When the view draws, it's using [self bounds] as the frame for NSDrawThreePartImage. Here's my code that slices up the image for scale three: http://pastebin.com/HgVGyLEp I've put a bunch of logging in this method, and all of the rects are always the same size, which is correct. So i'm not sure where the scaling of the image is being introduced. Any ideas? Thanks! _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com