On Aug 30, 2018, at 17:23 , Demitri Muna <cocoa-...@demitri.com> wrote: > > I tried to force this by adding two constraints, 2 pixels above and below the > image, then got this: > > 2018-08-30 14:55:36.807612-0400 Nightlight[78272:15775715] [Layout] Unable to > simultaneously satisfy constraints: > ( > "<NSLayoutConstraint:0x60c00009be90 NSImageView:0x60c000170e00.height == > 16 (active)>", > "<NSLayoutConstraint:0x60c000087ee0 V:|-(2)-[NSImageView:0x60c000170e00] > (active, names: DE_DataCell:0x60c000188470, '|':DE_DataCell:0x60c000188470 > )>", > "<NSLayoutConstraint:0x60c000082300 V:[NSImageView:0x60c000170e00]-(2)-| > (active, names: DE_DataCell:0x60c000188470, '|':DE_DataCell:0x60c000188470 > )>", > "<NSLayoutConstraint:0x60c00009c5c0 'NSView-Encapsulated-Layout-Height' > DE_DataCell.height == 12 (active, names: DE_DataCell:0x60c000188470 )>" > )
“Encapsulated layout height” sounds like one of the constraints that IB adds to your layout when it’s under-constrained at design time. Are you adding the other constraints at run time? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com