Re: NSPrintInfo and NSPageLayout
Re: NSPrintInfo and NSPageLayout
- Subject: Re: NSPrintInfo and NSPageLayout
- From: Ken Thomases <email@hidden>
- Date: Sat, 08 Oct 2011 21:56:27 -0500
On Oct 8, 2011, at 8:29 AM, Torsten Curdt wrote:
>>> 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
That doesn't show if the view class implements the various methods which affect pagination (things like -knowsPageRange: or -adjustPageHeightNew:top:bottom:limit:). Nor does it show the -drawRect: method to show how it draws and how that's affected by the bounds, etc.
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden