Thanks again to everyone much appreciated!
On Mar 24, 2012, at 2:44 AM, Lee Ann Rucker wrote:
>
> On Mar 23, 2012, at 3:24 AM, Rick C. wrote:
>
>> This is what I would expect too. But drawSegment:inFrame:withView: doesn't
>> override the cell drawing from what I know am I missing something?
On Mar 23, 2012, at 3:24 AM, Rick C. wrote:
> This is what I would expect too. But drawSegment:inFrame:withView: doesn't
> override the cell drawing from what I know am I missing something?
That draws the cell content, not the border or separator. To change that,
subclass drawWithFrame:inView
On Mar 23, 2012, at 3:24 AM, Rick C. wrote:
> This is what I would expect too. But drawSegment:inFrame:withView: doesn't
> override the cell drawing from what I know am I missing something?
That'll draw the interior of the segment. The background is drawn by
drawWithFrame:inView:, which then
This is what I would expect too. But drawSegment:inFrame:withView: doesn't
override the cell drawing from what I know am I missing something?
On Mar 23, 2012, at 2:19 PM, Seth Willits wrote:
> On Mar 22, 2012, at 9:49 PM, Lee Ann Rucker wrote:
>
>> The button/popup combo could still be an NS
On Mar 22, 2012, at 9:49 PM, Lee Ann Rucker wrote:
> The button/popup combo could still be an NSSegmentedControl. Getting a menu
> on a segment is just a matter of setMenu:forSegment: - the triangle would
> have to be part of the icon, because it doesn't do it for you.
You're totally right. I h
> [UIImage imageNamed:@"segment_tools.png"],
You'll save yourself headaches in the future if you don't use extensions in the
image name, especially if you someday turn it into a combined 1x & 2x tiff.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.
Thanks everyone for the replies. Yes I guess I just need to get a bit better
at subclassing to get the right look. :-) To be sure I would subclass
NSSegmentedControl not NSSegmentedCell right?
And for the UIControls I guess for the examples right? Yes I'll look into
this. And yes the textur
ocoa-Dev List"
Sent: Thursday, March 22, 2012 1:32:11 PM
Subject: Re: advice for creating these controls
On Mar 22, 2012, at 7:14 AM, Rick C. wrote:
> Just looking for an opinion what's the best way to create controls like this:
>
> http://cl.ly/191V3Z1C0m2k2U0V44
On Mar 22, 2012, at 7:14 AM, Rick C. wrote:
> Just looking for an opinion what's the best way to create controls like this:
>
> http://cl.ly/191V3Z1C0m2k2U0V443x
>
> I initially assumed subclassing NSSegmentedControl, but then I was thinking
> maybe I can just subclass NSButton and put them tog
Am 22.03.2012 um 16:22 schrieb Alex Zavatone:
> UISegmentedControl *segmentedControl = [[UISegmentedControl alloc]
> initWithItems:
>
> [NSArray arrayWithObjects:
>
On Mar 22, 2012, at 11:08 AM, Andreas Mayer wrote:
>
> Am 22.03.2012 um 15:14 schrieb Rick C.:
>
>> Just looking for an opinion what's the best way to create controls like this:
>>
>> http://cl.ly/191V3Z1C0m2k2U0V443x
>>
>> I initially assumed subclassing NSSegmentedControl, but then I was th
Am 22.03.2012 um 15:14 schrieb Rick C.:
> Just looking for an opinion what's the best way to create controls like this:
>
> http://cl.ly/191V3Z1C0m2k2U0V443x
>
> I initially assumed subclassing NSSegmentedControl, but then I was thinking
> maybe I can just subclass NSButton and put them togeth
Download the UIControls project from the source code section on Apple's dev
site.
On Mar 22, 2012, at 10:14 AM, Rick C. wrote:
> Hi,
>
> Just looking for an opinion what's the best way to create controls like this:
>
> http://cl.ly/191V3Z1C0m2k2U0V443x
>
> I initially assumed subclassing NSSe
Hi,
Just looking for an opinion what's the best way to create controls like this:
http://cl.ly/191V3Z1C0m2k2U0V443x
I initially assumed subclassing NSSegmentedControl, but then I was thinking
maybe I can just subclass NSButton and put them together. Or maybe even make
this out of a custom vie
14 matches
Mail list logo