Re: NSSegmentedControl Label

2011-01-16 Thread Matt Neuburg
On Fri, 14 Jan 2011 18:57:00 -0700, koko said: >Ouch! > >Some of us need to lighten up Some of us need to ask questions properly. You explicitly said, "Is there a recommended manner to accomplish this?". I told you where to find the recommended use of NSSegmentedControl. Then in a later note y

Re: NSSegmentedControl Label

2011-01-15 Thread jonat...@mugginsoft.com
On 14 Jan 2011, at 23:35, Kyle Sluder wrote: > On Fri, Jan 14, 2011 at 1:17 PM, Shawn Bakhtiar > wrote: >> Don't listen to the naysayers... You can do whatever you want. > > Sure, but koko asked how he could tell an NSSegmentedCell to draw its > image and its text. It's apparent that the autho

Re: NSSegmentedControl Label

2011-01-14 Thread koko
Ouch! Some of us need to lighten up ... it is software engineering not rocket science ... I am not going to make anything ugly ... I want my app to be visually appealing and "intuitive". The intuitive part is what I am trying to get to; it is something pointed out by a number of users. By th

Re: NSSegmentedControl Label

2011-01-14 Thread Conrad Shultz
As others (notably Kyle) have pointed out, there is no need to act so defensively. You specifically asked what the "recommended" way to do this is, and I simply pointed out that the approach is NOT recommended. -- Conrad Shultz www.sythetiqsolutions.com On Jan 14, 2011, at 12:38, koko wrote:

Re: NSSegmentedControl Label

2011-01-14 Thread Sherm Pendley
On Fri, Jan 14, 2011 at 6:35 PM, Kyle Sluder wrote: > > Images-and-text on segmented cells can look atrocious. It can look > like Windows. It can look like someone feels like disrespecting > platform conventions. But sometimes violating the HIG is precisely the > right thing to do. That's why they

Re: NSSegmentedControl Label

2011-01-14 Thread Kyle Sluder
On Fri, Jan 14, 2011 at 1:17 PM, Shawn Bakhtiar wrote: > Don't listen to the naysayers... You can do whatever you want. Sure, but koko asked how he could tell an NSSegmentedCell to draw its image and its text. It's apparent that the authors of NSSegmentedCell did not implement this, because why i

Re: NSSegmentedControl Label

2011-01-14 Thread Laurent Daudelin
such thing. Nothing could be father from the truth, you can always >> added any missing functionality, or override any ones you don't like. >> >> IMHO >> >> >> >>> Date: Fri, 14 Jan 2011 12:44:19 -0800 >>> From: kyle.slu...@gmail.com &

Re: NSSegmentedControl Label

2011-01-14 Thread koko
12:44:19 -0800 > > From: kyle.slu...@gmail.com > > To: k...@highrolls.net > > CC: cocoa-dev@lists.apple.com > > Subject: Re: NSSegmentedControl Label > > > > On Fri, Jan 14, 2011 at 12:38 PM, koko wrote: > > > It may not be recommended but I want to do

RE: NSSegmentedControl Label

2011-01-14 Thread Shawn Bakhtiar
n't like. IMHO > Date: Fri, 14 Jan 2011 12:44:19 -0800 > From: kyle.slu...@gmail.com > To: k...@highrolls.net > CC: cocoa-dev@lists.apple.com > Subject: Re: NSSegmentedControl Label > > On Fri, Jan 14, 2011 at 12:38 PM, koko wrote: > > It may not be recommende

Re: NSSegmentedControl Label

2011-01-14 Thread Kyle Sluder
On Fri, Jan 14, 2011 at 12:38 PM, koko wrote: > It may not be recommended but I want to do it.  Should I get permission from > from steven p jobs first? > > Apple HIG is not the be-all, end-all of UI design. No, but it is the design document by which the AppKit implementors write their code. If

Re: NSSegmentedControl Label

2011-01-14 Thread koko
It may not be recommended but I want to do it. Should I get permission from from steven p jobs first? Apple HIG is not the be-all, end-all of UI design. -koko On Jan 14, 2011, at 1:33 PM, Conrad Shultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 1/14/11 12:28 PM, koko wro

Re: NSSegmentedControl Label

2011-01-14 Thread jonat...@mugginsoft.com
On 14 Jan 2011, at 20:28, koko wrote: > Thanks Matt but the documentation is no help whatsoever. I read it. > > The question remains ... What is the recommended manner to put text and > graphic in one segment of an NSSegmentedControl. > > > Try the docs for NSSegmentedCell. Regards Jonath

Re: NSSegmentedControl Label

2011-01-14 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/14/11 12:28 PM, koko wrote: > Thanks Matt but the documentation is no help whatsoever. I read it. > > The question remains ... What is the recommended manner to put text > and graphic in one segment of an NSSegmentedControl. It's not recommended

Re: NSSegmentedControl Label

2011-01-14 Thread koko
Thanks Matt but the documentation is no help whatsoever. I read it. The question remains ... What is the recommended manner to put text and graphic in one segment of an NSSegmentedControl. -koko On Jan 14, 2011, at 1:09 PM, Matt Neuburg wrote: > On Fri, 14 Jan 2011 11:01:15 -0700, koko sa

Re: NSSegmentedControl Label

2011-01-14 Thread Matt Neuburg
On Fri, 14 Jan 2011 11:01:15 -0700, koko said: >I would like to programmatically set the label for a section of an >NSSegmentedControl which would contain text and a graphic. Is there a >recommended manner to accomplish this? The usual way to discover the recommended manner is to read the docu

NSSegmentedControl Label

2011-01-14 Thread koko
I would like to programmatically set the label for a section of an NSSegmentedControl which would contain text and a graphic. Is there a recommended manner to accomplish this? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no