In my app, I have a custom view which I'm printing.  The NSPrintPanel has an 
accessory panel attached with a couple of options on it that I'm observing 
using the NSPrintPanelAccessorizing method -keyPathsForValuesAffectingPreview.  
That works fine.
When the user changes some of the settings, the size (ie, frame) of the view 
changes (columns are added/removed from an NSTableView in my custom view).  
When that happens, the preview doesn't get updated correctly: it uses the frame 
of the view as it was when the NSPrintOperation was created.  That means that 
the preview panel doesn't show the correct image of the page to be rendered.

Is there a way to notify NSPrintOperation that the frame size has changed on 
the view to be printed?

I've tried all sorts of fiddling with the frame and bounds of the view to try 
to get it to display to no avail.

I'm really stuck so any help would be appreciated, as by my customer who is 
very frustrated at how long this detail has taken resolve.

Thanks,

        Ben.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to