[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Proposal to fix NSButtonCell issue with -setFont: -setTitle:

From: Quentin Mathé
Subject: Re: [PATCH] Proposal to fix NSButtonCell issue with -setFont: -setTitle:
Date: Wed, 23 Jun 2004 02:29:35 +0200

Le 19 juin 04, à 18:28, Fred Kiefer a écrit :

From what you write, I would rather suggest that we change the methods (-image) and (-setImage) on NSButtonCell to ignore the cell type. Or did I miss something?

That would break the OpenStep specification and wouldn't be a very elegant solution.

Somethign similar will be needed for NSBrowserCell which also supports an iamge and a text at the same time. Perhaps it would be even worthwhile to add a switch autoChangeCellType to each cell class, but I would wait with this.

That's what my patch is more or less doing and I think it is a nice solution which can be adapted for NSBrowserCell (need to take a look at it more precisely). If you mean ivar by switch, I don't see an interest to add such flag to optionnaly disable this behavior, the auto change cell type behavior should be the default I think.

Thanks for the reply,

Quentin Mathé

reply via email to

[Prev in Thread] Current Thread [Next in Thread]