• 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: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder


  • Subject: Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
  • From: Rua Haszard Morris <email@hidden>
  • Date: Tue, 23 Nov 2010 14:29:34 +1300

What I have tried:
- new window NIB file
- add a toolbar
- add a custom view to the nib
- add controls to the custom view - a button, textfield, etc, tweak layout to taste
- drag the custom view to the toolbar customise sheet (i.e. the allowed items area)
- it looks like the view content will appear - the buttons are drawn in the allowed items area
- drag the custom item to the toolbar (so it is in the default set) - oh no, the buttons disappear
- simulate the interface - oh no, still no buttons!

Perhaps my first email was not concise enough...

thanks for the help
Rua HM.

On 23/11/2010, at 1:55 PM, Graham Cox wrote:

>
> On 23/11/2010, at 10:02 AM, Rua Haszard Morris wrote:
>
>> Is this not possible?
>
>
> Yes, it's possible. But your question is too open-ended. What have you tried, what doesn't perform as expected?
>
> --Graham
>
>

_______________________________________________

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: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
      • From: Joey Hagedorn <email@hidden>
References: 
 >how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder (From: Rua Haszard Morris <email@hidden>)
 >Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder (From: Rua Haszard Morris <email@hidden>)
 >Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder (From: Graham Cox <email@hidden>)

  • Prev by Date: NSView exitFullScreenModeWithOptions results in dimmed menus in document based app
  • Next by Date: Help diagnosing networking/internet performance issues
  • Previous by thread: Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
  • Next by thread: Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
  • Index(es):
    • Date
    • Thread