IB keeps changing my constraints when I resize the cell
IB keeps changing my constraints when I resize the cell
- Subject: IB keeps changing my constraints when I resize the cell
- From: Rick Mann <email@hidden>
- Date: Sat, 15 Jun 2013 18:48:01 -0700
I'm making a view-based NSOutlineView. In my NSTableViewCell, I have an image and static text. I have constraints to vertically center the image and static text, and they each have pinned height.
This is fine, but if I change the NSTableViewCell's height using the size inspector, at some point, IB changes my vertical alignment constraints to vertical spacing. If I then change them back, it changes the cell's height back to 23.
When it runs, the vertical spacing is just too much; I want my rows more compact.
I can leave the view 23 pixels high, and adjust the outline view's row height, but I'd rather it size automatically in case I add views of a different heigh later.
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden