Re: how to add a custom view (a pair of controls) to an NSToolbar in Interface Builder
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