• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IB keeps changing my constraints when I resize the cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: IB keeps changing my constraints when I resize the cell
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Multiple Observations
  • Next by Date: Re: IB keeps changing my constraints when I resize the cell
  • Previous by thread: Re: Accelerate Framework?
  • Next by thread: Re: IB keeps changing my constraints when I resize the cell
  • Index(es):
    • Date
    • Thread