• 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: Saving Outline View Column Widths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving Outline View Column Widths


  • Subject: Re: Saving Outline View Column Widths
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Fri, 8 Aug 2008 01:48:30 +0700


On 8 Aug 2008, at 01:21, Corbin Dunn wrote:


On Aug 7, 2008, at 10:06 AM, Gerriet M. Denkmann wrote:

I have an OutlineView, which has an Autosave Name set in IB.
Works fine. I change a column width, close the document, open another document: the columns are just as they should be.
Let's say, I want the first column to be 2 cm wide.


Now I click on some disclosure triangle, new rows come up and the first column gets 5.64 mm wider (= 16 pixels). Make sense, because these new rows are indented by 5.6 mm.

Now, close the document; open new document - but this time the first column (although no disclosure triangle is open) is 2.56 cm wide.

So, obviously not the basic column-width gets stored, but the current column-width including the shifts added by opening a disclosure triangle.

Is this behaviour correct?
Anyway: I don't like it.
So: how can it be turned off ? How can one tell the Outline View to save the basic column-widths?
Using Tiger 10.4.11.

The difficulty here is that it is restoring the exact last width that it had. It is debatable as to whether or not this is correct; feel free to log a bug for it.


Your best bet is to call setAutoresizesOutlineColumn:NO.

Or collapse all items in windowWillClose:. Works very nicely for me.

Kind regards,

Gerriet.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Saving Outline View Column Widths (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Saving Outline View Column Widths (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: Properties, read only and bindings
  • Next by Date: Re: packed NSTextfield and NSFormatter in IB3 plugin...
  • Previous by thread: Re: Saving Outline View Column Widths
  • Next by thread: How do I get those 1 pixel black lines into my app window?
  • Index(es):
    • Date
    • Thread