Thank you Joey!

This most certainly works a treat.

cheers
Rua HM.

On 30/11/2010, at 10:59 AM, Joey Hagedorn wrote:

> Rua,
>       This won't work with an instance of  the "custom view" in the toolbar. 
> A workaround would be to use a borderless (Custom / No Border) NSBox instead 
> of a custom view. This is probably the most straightforward fix.
> 
> There is some more info in this older post to the list: 
> http://www.cocoabuilder.com/archive/cocoa/236455-nstoolbaritem-with-custom-view-in-interface-builder-3-leopard.html
> 
> --Joey
> 
> 
> 
> On Nov 22, 2010, at 5:29 PM, Rua Haszard Morris wrote:
> 
>> 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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/hagedorn%40apple.com
>> 
>> This email sent to haged...@apple.com
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to