Revision: 12875 http://sourceforge.net/p/skim-app/code/12875 Author: hofman Date: 2022-05-04 09:13:31 +0000 (Wed, 04 May 2022) Log Message: ----------- we use auto layout for control view of split pdfview
Modified Paths: -------------- trunk/SKSecondaryPDFView.m Modified: trunk/SKSecondaryPDFView.m =================================================================== --- trunk/SKSecondaryPDFView.m 2022-05-03 17:10:21 UTC (rev 12874) +++ trunk/SKSecondaryPDFView.m 2022-05-04 09:13:31 UTC (rev 12875) @@ -279,7 +279,7 @@ [topBar addSubview:scalePopUpButton]; controlView = topBar; - [controlView setAutoresizingMask:NSViewWidthSizable | NSViewMinYMargin]; + [controlView setTranslatesAutoresizingMaskIntoConstraints:NO]; NSArray *constraints = [NSArray arrayWithObjects: [NSLayoutConstraint constraintWithItem:controlView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:0.0 constant:CONTROL_HEIGHT], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit