Revision: 25856 http://sourceforge.net/p/bibdesk/svn/25856 Author: hofman Date: 2021-05-03 22:46:47 +0000 (Mon, 03 May 2021) Log Message: ----------- align pref icons to the left and make sure the pref panes fit in the window
Modified Paths: -------------- trunk/bibdesk/BDSKPreferenceController.m Modified: trunk/bibdesk/BDSKPreferenceController.m =================================================================== --- trunk/bibdesk/BDSKPreferenceController.m 2021-05-03 22:35:06 UTC (rev 25855) +++ trunk/bibdesk/BDSKPreferenceController.m 2021-05-03 22:46:47 UTC (rev 25856) @@ -646,10 +646,10 @@ [NSLayoutConstraint constraintWithItem:controlView attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeBottom multiplier:1.0 constant:0.0], nil]; NSArray *constraints = [NSArray arrayWithObjects: [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeLeading relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeLeading multiplier:1.0 constant:0.0], + [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeLeading relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:contentView attribute:NSLayoutAttributeLeading multiplier:1.0 constant:0.0], [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:contentView attribute:NSLayoutAttributeCenterX multiplier:1.0 constant:0.0], [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:isIcons ? contentView : controlView attribute:isIcons ? NSLayoutAttributeBottom : NSLayoutAttributeTop multiplier:1.0 constant:0.0], nil]; - if (isIcons == NO) - [[constraints firstObject] setPriority:100.0]; + [[constraints firstObject] setPriority:100.0]; NSTimeInterval duration = [NSAnimationContext defaultAnimationTimeInterval]; if (display && duration > 0.0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit