• 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
Re: Problem setting up custom toolbar item in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem setting up custom toolbar item in IB


  • Subject: Re: Problem setting up custom toolbar item in IB
  • From: Rob Keniger <email@hidden>
  • Date: Tue, 20 Jan 2009 19:05:54 +1000


On 20/01/2009, at 5:21 PM, Chunk 1978 wrote:

not sure if it's related to a problem i've recently solved with custom
views:  i was trying to display a label "inside" a button, but the
label wouldn't show when built, only the button.  for some sketchy
reason i had to place the label under the button in the NIB because
the app build was displaying the custom view's layers in revers
order...


This means you didn't place the label inside the custom view in IB. You have to double-click the view to make it active so you're editing the contents of the view and then drag the label onto the custom view. This will place the label as a subview of the custom view.

You can verify this by switching the main nib window to one of the two hierarchical modes and checking that the Label is a subview of the custom view.

--
Rob Keniger



_______________________________________________

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


References: 
 >Problem setting up custom toolbar item in IB (From: Graham Cox <email@hidden>)
 >Re: Problem setting up custom toolbar item in IB (From: Joey Hagedorn <email@hidden>)
 >Re: Problem setting up custom toolbar item in IB (From: Graham Cox <email@hidden>)
 >Re: Problem setting up custom toolbar item in IB (From: Chunk 1978 <email@hidden>)

  • Prev by Date: Re: Binding of invisible controls: is lazy data loading possible?
  • Next by Date: Re: Crash trying to create Webarchive
  • Previous by thread: Re: Problem setting up custom toolbar item in IB
  • Next by thread: Re: Problem setting up custom toolbar item in IB
  • Index(es):
    • Date
    • Thread