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 (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

Reply via email to