Revision: 26740 http://sourceforge.net/p/bibdesk/svn/26740 Author: hofman Date: 2021-08-26 00:10:31 +0000 (Thu, 26 Aug 2021) Log Message: ----------- Align button and image view in text field at top
Modified Paths: -------------- trunk/bibdesk/BDSKAddressTextField.m Modified: trunk/bibdesk/BDSKAddressTextField.m =================================================================== --- trunk/bibdesk/BDSKAddressTextField.m 2021-08-25 23:17:21 UTC (rev 26739) +++ trunk/bibdesk/BDSKAddressTextField.m 2021-08-26 00:10:31 UTC (rev 26740) @@ -71,7 +71,7 @@ [self addSubview:imageView]; [self addConstraints:[NSArray arrayWithObjects: [NSLayoutConstraint constraintWithLeadingMargin:CONTROL_MARGIN_X forItem:imageView toItem:self], - [NSLayoutConstraint constraintWithBottomMargin:CONTROL_MARGIN_Y forItem:imageView toItem:self], nil]]; + [NSLayoutConstraint constraintWithTopMargin:CONTROL_MARGIN_Y forItem:imageView toItem:self], nil]]; } if (button == nil) { button = [[NSButton alloc] init]; @@ -88,7 +88,7 @@ [self addSubview:button]; [self addConstraints:[NSArray arrayWithObjects: [NSLayoutConstraint constraintWithTrailingMargin:CONTROL_MARGIN_X forItem:button toItem:self], - [NSLayoutConstraint constraintWithBottomMargin:CONTROL_MARGIN_Y forItem:button toItem:self], nil]]; + [NSLayoutConstraint constraintWithTopMargin:CONTROL_MARGIN_Y forItem:button toItem:self], nil]]; } } 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