• 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
Reorder subviews from InterfaceBuilder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reorder subviews from InterfaceBuilder?


  • Subject: Reorder subviews from InterfaceBuilder?
  • From: daniel <email@hidden>
  • Date: Fri, 18 Feb 2005 10:25:00 -0800

Is there anyway to manipulate the order of subviews from within IB? I've tried in the "object outline view" view to copy and paste, or drag, but it doesn't work.

Certain UI elements (NSSplitView) use the order of their subviews to determine the order in which they display the views in the UI. A problem with split views is that any action that causes IB to remove a subview (even temporarily) from a split view means that the subview will be added at the END of the list upon replacement. For instance, if a top-level view in a split view is an NSBox, and you do an "Unpack Subviews" to get rid of the box, you end up with the contents shuffled to the end of the split view's pane list.

As soon as something like this happens, it's time for the ol' "unpack the split view, rearrange the objects, and rebuild the split view" routine. Tedious, especially when the split view has custom sizing information and outlets configured.

Daniel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: [OT] calling isnan
  • Next by Date: quickly add files to new target?
  • Previous by thread: Re: [OT] calling isnan
  • Next by thread: quickly add files to new target?
  • Index(es):
    • Date
    • Thread