Revision: 16447
http://sourceforge.net/p/skim-app/code/16447
Author: hofman
Date: 2026-09-11 14:34:21 +0000 (Fri, 11 Sep 2026)
Log Message:
-----------
set initial pdfview frame
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-09-10 16:54:22 UTC (rev 16446)
+++ trunk/SKMainWindowController.m 2026-09-11 14:34:21 UTC (rev 16447)
@@ -465,6 +465,8 @@
// Due to a bug in Leopard we should only resize and swap in the PDFView
after loading the PDFDocument
+ [pdfView setFrame:[centerContentView bounds]];
+
pdfSplitViewController = [[NSSplitViewController alloc] init];
viewController = [[NSViewController alloc] init];
@@ -476,6 +478,7 @@
[[pdfSplitViewController splitView] setVertical:NO];
view = [pdfSplitViewController view];
+ [view setFrame:[centerContentView bounds]];
constraints = @[[[view leadingAnchor]
constraintEqualToAnchor:[centerContentView leadingAnchor]],
[[centerContentView trailingAnchor] constraintEqualToAnchor:[view
trailingAnchor]],
[[view topAnchor] constraintEqualToAnchor:[centerContentView
topAnchor]],
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit