> On Jun 25, 2021, at 2:40 PM, Andreas Falkenhahn via Cocoa-dev
> wrote:
>
> On 25.06.2021 at 18:54 Carl Hoefs wrote:
>
>> So I think it's safe to say that something has changed, and you're not
>> fighting fantoms...
>
> Do you think this should be reported to Apple or will nobody care beca
On 25.06.2021 at 18:54 Carl Hoefs wrote:
> So I think it's safe to say that something has changed, and you're not
> fighting fantoms...
Do you think this should be reported to Apple or will nobody care because I'm
using deprecated APIs?
--
Best regards,
Andreas Falkenhahn
You are using deprecated cell based table views/API. I would advise switching
to view based API (available in macOS 10.7 and newer). Cell based was
deprecated in 10.10 back in 2014.
With that said, I would create an NSTextFieldCell subclass (if you haven’t
already) and stuff it into the text f
I'm manually calculating the minimum size of my NSTableColumn to avoid text
ellipsization. The calculation looks like this:
NSCell *cell = [m_view preparedCellAtColumn:m_column row:row];
int width = ceil([cell cellSize].width);
if(m_column == [m_view outlineTableColumn]) {
width