• 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
Aspect ratio constraints multiplying
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aspect ratio constraints multiplying


  • Subject: Aspect ratio constraints multiplying
  • From: Rick Mann <email@hidden>
  • Date: Tue, 19 Jan 2016 00:16:21 -0800

I was laying out a number keypad of UIButtons. I gave a button a 1:1 aspect ratio constraint, and set up a few other constraints. Then I option-dragged it. The aspect ratio constraint was copied with it, and I created additional external constraints (e.g. next to the previous button, same height, same bottom). I did this for all the digits 0-9.

Then I noticed that many of the buttons had multiple 1:1 aspect ratio constraints. I figured IB has a bug that it was creating more than one each time I option-drag-copied them. No biggie, I selected the redundant ones and deleted them.

Only they didn't delete, they turned grey (i.e. disabled), and still exist.

What's going on?

--
Rick Mann
email@hidden



_______________________________________________

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


  • Prev by Date: Re: Best Way to Hold Array of CFRefType’s
  • Next by Date: [no subject]
  • Previous by thread: NSTableView/NSOutlineView row/view overlay
  • Next by thread: [no subject]
  • Index(es):
    • Date
    • Thread