• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: still wrestling with dynamic columns and column auto-resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: still wrestling with dynamic columns and column auto-resizing


  • Subject: Re: still wrestling with dynamic columns and column auto-resizing
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 05 May 2006 11:31:49 -0700
  • Thread-topic: still wrestling with dynamic columns and column auto-resizing

On Fri, 5 May 2006 07:49:57 +0200, HORUS Technologies
<email@hidden> said:
>
>Le 5 mai 06 à 04:53, Matt Neuburg <email@hidden> a écrit :
>
>Hello Matt,
>
>> In my NSTableView, the user can ask for many columns to come and
>> go. That's
>> what I mean by "dynamic columns". It's like in the Finder where a
>> pref says
>> what columns appear in list view, or like in iTunes.
>>
>> Well, this is turning out to be tremendously difficult.
>>
>> It all stems from the fact that I want to remember the user's
>> column choices
>> and column widths after the app quits. When the app starts up, I
>> restore the
>> appropriate columns dynamically.
>
>I remember doing something like that last summer, but I don't
>remember encountering any of the problems you mention here.
>I stored all the characteristics of the columns in a dictionary and
>restored them like this

I'm not having any trouble storing all the characteristics of the columns in
user defaults and restoring them (in fact, I think I've got quite a clever
method of doing this). I'm having trouble with the fact that column live
autoresizing (when the user manually resizes the window) has gone away.

It's funny, but now that I look closer I see that other apps that have
dynamic columns don't solve this problem either! Neither iTunes nor the
Finder has any autoresizing at all - you resize the window and nothing
happens to the columns at all. What a cop-out. So I think my solution
(resizing after the user finishes the live resize) is actually better.

But what I'd really like is for column live autoresizing to work as
advertised. m.


--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: still wrestling with dynamic columns and column auto-resizing
      • From: HORUS Technologies <email@hidden>
  • Prev by Date: Re: Which format for image file resources in Cocoa application?
  • Next by Date: Progress window strategies?
  • Previous by thread: Re: still wrestling with dynamic columns and column auto-resizing
  • Next by thread: Re: still wrestling with dynamic columns and column auto-resizing
  • Index(es):
    • Date
    • Thread