Revision: 27900 http://sourceforge.net/p/bibdesk/svn/27900 Author: hofman Date: 2022-09-16 13:24:42 +0000 (Fri, 16 Sep 2022) Log Message: ----------- right margin in status bar changes when icons are added or removed
Modified Paths: -------------- trunk/bibdesk/BDSKStatusBar.m Modified: trunk/bibdesk/BDSKStatusBar.m =================================================================== --- trunk/bibdesk/BDSKStatusBar.m 2022-09-16 12:41:11 UTC (rev 27899) +++ trunk/bibdesk/BDSKStatusBar.m 2022-09-16 13:24:42 UTC (rev 27900) @@ -331,7 +331,7 @@ [icons addObject:dict]; [self rebuildToolTips]; [self setNeedsDisplay:YES]; - [[self constraintWithFirstItem:textField firstAttribute:NSLayoutAttributeLeading] setConstant:[self fullLeftMargin]]; + [[self constraintWithSecondItem:textField secondAttribute:NSLayoutAttributeTrailing] setConstant:[self fullRightMargin]]; } - (void)removeIconWithIdentifier:(NSString *)identifier { @@ -341,7 +341,7 @@ [icons removeObjectAtIndex:i]; [self rebuildToolTips]; [self setNeedsDisplay:YES]; - [[self constraintWithFirstItem:textField firstAttribute:NSLayoutAttributeLeading] setConstant:[self fullLeftMargin]]; + [[self constraintWithSecondItem:textField secondAttribute:NSLayoutAttributeTrailing] setConstant:[self fullRightMargin]]; break; } } 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