Quincey, Brian and Graham,
I tried one last time, setting my toolbar in pure code. I started from the
SimpleToolbar sample that comes with the XCode tools. And it works! There's a
remaining bug: the label positions are wrong in the toolbar customization
palette.
The code is here: http://www.d
On May 5, 2010, at 2:57 PM, Flavio Donadio wrote:
> Quincey,
>
>
> Now, that's the kind of answer I needed, even if it doesn't really get me
> where I want! At least, it stops me from pursuing something too difficult,
> impossible or undesirable.
>
> On 05/05/2010, at 14:17, Quincey Morris w
Quincey,
Now, that's the kind of answer I needed, even if it doesn't really get me where
I want! At least, it stops me from pursuing something too difficult, impossible
or undesirable.
On 05/05/2010, at 14:17, Quincey Morris wrote:
> And that points to your real problem -- what you want *isn'
I should mention that what I did is that I used a segmented control, and then
used the single under the control label, but used spaces and centering to make
it LOOK like it had two labels, even though it really only has one label... so
instead of having "next" under one arrow and "prev" under t
On May 5, 2010, at 07:00, Flavio Donadio wrote:
> Yes, I could do it in IB, if only I knew how to put the labels below each
> segment, which is my ultimate goal here.
And that points to your real problem -- what you want *isn't* a segmented
control. Segment controls have their segment labels in
I've tried doing this myself. I don't think it can be done. at least not the
way we want to do it.
If you look in the Preview.app package, you can find all of the images that it
uses in the contents/resources folder. Notice that it has buttonLeft.tiff,
ButtonLeftAquar.tif, buttonLeftDark.tif,
Jerry,
I get the idea, but...
On 05/05/2010, at 01:42, Jerry Krinock wrote:
> I have an NSSearchField in a toolbar. It is a subview of an NSToolbarItem,
> not of an NSView.
You're right. I forgot the fact that you can only have NSToolbarItems (or
subclasses of it) in a NSToolbar. I tried an
On 2010 May 04, at 18:42, Flavio Donadio wrote:
> Ok, I can create the NSSegmentedControl in code, but I got to have an NSView
> to load it into, anyways.
I have an NSSearchField in a toolbar. It is a subview of an NSToolbarItem, not
of an NSView.
And again, unless you need to be popping thi
Graham,
Thanks for the answer, but I think you didn't get what I want to do. Or I
didn't make myself clear enough.
> Either create the control in code or create it in IB. Don't do both.
Ok, I can create the NSSegmentedControl in code, but I got to have an NSView to
load it into, anyways. Even
On May 4, 2010, at 5:46 PM, Graham Cox wrote:
> I haven't found a need to use toolbar groups myself (though presumably they
> solve a problem I haven't needed to solve so far)
AFAICT, multiple labels on a single toolbar item?
--
Seth Willits
___
On 05/05/2010, at 9:54 AM, Flavio Donadio wrote:
> Finally, in Interface Builder, I inserted an NSSegmentedControl in my toolbar
> and bound it to the outlet in the App Delegate instance in the NIB.
>
> It doesn't work. My segmented control doesn't get the images or labels.
> Should it be don
Fellows,
I tried to search the list for a solution to this problem, but maybe I'm not a
good searcher.
I am trying to use a NSSegmentedControl in a toolbar, capsule-styled, just like
in Mail or Preview. I mean: I want each segment to have its own label, like in
the "Reply /
On 05/06/2009, at 12:26 PM, Graham Cox wrote:
Follow-up question: how can I turn OFF a segment in a segmented
control? The situation is this:
Iterating over the segments with -setSelected:NO forSegment: does
the trick for this.
--Graham
___
On 05/06/2009, at 11:29 AM, Joar Wingfors wrote:
On 4 jun 2009, at 18.10, Graham Cox wrote:
There's a note in the documentation for -validateToolbarItem: that
"NSToolbar only calls this method for image items", which might
explain it. So what do I need to do to make this work for the
se
On Jun 4, 2009, at 7:10 PM, Graham Cox wrote:
There's a note in the documentation for -validateToolbarItem: that
"NSToolbar only calls this method for image items", which might
explain it. So what do I need to do to make this work for the
segmented control?
In addition to what Joar sugg
On 4 jun 2009, at 18.10, Graham Cox wrote:
There's a note in the documentation for -validateToolbarItem: that
"NSToolbar only calls this method for image items", which might
explain it. So what do I need to do to make this work for the
segmented control? I've read all the toolbar and valid
I'm having problems validating an NSSegmentedControl in a toolbar.
I have tried implementing both -validateUserInterfaceItem: and -
validateToolbarItem: but neither is called for the segmented control.
They are called for other simple buttons in the toolbar.
There's a n
17 matches
Mail list logo