Re: How to align a custom view in a toolbar ???

2009-05-06 Thread jonat...@mugginsoft.com
Try inserting an NSToolbarFlexibleSpaceItemIdentifier item into the tool bar before your custom view. On 6 May 2009, at 04:30, Anders Lassen wrote: Hi, I am working on a program where I plan to put a mode selector in the upper right corner. I hope to implement this using a toolbar and

Re: How to align a custom view in a toolbar ???

2009-05-06 Thread Anders Lassen
Thanks, It solved the problem. On May 6, 2009, at 10:41 AM, jonat...@mugginsoft.com wrote: Try inserting an NSToolbarFlexibleSpaceItemIdentifier item into the tool bar before your custom view. On 6 May 2009, at 04:30, Anders Lassen wrote: Hi, I am working on a program where I plan to put

How to align a custom view in a toolbar ???

2009-05-05 Thread Anders Lassen
Hi, I am working on a program where I plan to put a mode selector in the upper right corner. I hope to implement this using a toolbar and a custom view. The custom view contains the mode selector, which is a NSSegmented control. So far, I have managed to display the custom view in the