On 22 Sep 2008, at 5:05 PM, Adam R. Maxwell wrote:
>
> On Sep 22, 2008, at 7:53 AM, Christiaan Hofman wrote:
>
>>
>> On 22 Sep 2008, at 4:39 PM, Adam R. Maxwell wrote:
>>
>>>
>>> On Sep 22, 2008, at 5:44 AM, Christiaan Hofman wrote:
>>>
>>>> Or just download the last nightly at <http://
>>>> bibdesk.demokratia.org/
>>>> beta> and use Autosize Column, because it now gives a more sensible
>>>> default size.
>>>
>>> Out of curiosity, what did you do to the level indicator cell? That
>>> looks like something that's begging for a comment in the code,
>>> especially taken with the commit comment (100 pts doesn't seem like
>>> an insane size to me).
>>
>> Just override cellSize, to return something with a maximum width of
>> 100. NSLevelIndicatorCell returns {40000, 12}, which is rather big.
>
> It seems like a bit of an implementation detail if cellSize is used
> to determine column width.
I disagree, it's supposed to give the size the cell requires if it
isn't constraint ("Returns the minimum size needed to display the
receiver.")
> IIRC Apple started using cellSize for stuff like the expansion
> tooltips in 10.5, so it could start doing odd things in future.
I'd rather say that this would make it more reliable. If they're
really using it, then it's supposed to give some relevant size.
> Does NSLevelIndicatorCell also return 40000, 12 when the cell is in
> a view?
Sure, the cellSize method is independent of the view, it does not know
about it.
Christiaan
>
>>
>> I'll add a comment.
>
> Cool,
> thanks
> .-------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Bibdesk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users