>> So I have the panel and the preview is correct. Now I click to change >> the orientation from portrait to landscape. Of course at a scaling >> factor of 100% it should fill the page, but instead it's just sticks >> to the previous size and centers it on the page. >> >> What am I missing there? > > Hard to know from just that description.
Well, the code is here https://gist.github.com/919d845b2e1b5becbaac Or do you mean you don't understand what I mean by "just sticks to the previous size and centers it on the page". It's like the view is rotated but not resized to the new width of the page. I made two screenshots here: https://skitch.com/tcurdt/f986j/print https://skitch.com/tcurdt/f9861/print >> Wish there was a proper example project available for this kind of stuff. > > It seems that both TextEdit and Sketch handle printing. See > /Developer/Examples. Thanks for the pointers. They should be linked from docs. Still need to try the orientations change with those examples to see if it works there. cheers, Torsten _______________________________________________ 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