Fixed <rdar://problem/3770469> Some PDFs open with line of previous page...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2004 21:17:30 +0000 (21:17 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Aug 2004 21:17:30 +0000 (21:17 +0000)
        Set height resize flags on WebPDFView.

        Reviewed by Chris.

        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView initWithFrame:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7342 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebPDFView.m

index c45f883ed32bfbd78c87b047f61cf51648f7db9d..565fee3340ab20ed41132e07f904ce89b3df0af3 100644 (file)
@@ -1,3 +1,14 @@
+2004-08-24  Richard Williamson   <rjw@apple.com>
+
+        Fixed <rdar://problem/3770469> Some PDFs open with line of previous page above PDF view
+       
+        Set height resize flags on WebPDFView.
+               
+        Reviewed by Chris.
+
+        * WebView.subproj/WebPDFView.m:
+        (-[WebPDFView initWithFrame:]):
+
 2004-08-24  David Hyatt  <hyatt@apple.com>
 
        Add Atom and RSS MIME types to set of supported XML types.
index 400adf7b4c0f379913b3d5f7c3ad83c0630e3ffd..951c8d5c5e2604676e96e3a82d3a31dc71285ec8 100644 (file)
@@ -19,7 +19,7 @@
 {
     self = [super initWithFrame:frame];
     if (self) {
-        [self setAutoresizingMask:NSViewWidthSizable];
+        [self setAutoresizingMask:NSViewWidthSizable|NSViewHeightSizable];
             written = NO;
     }
     return self;