• 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: Corbin Dunn <email@hidden>
  • Date: Thu, 07 Aug 2008 11:21:47 -0700


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.

corbin
_______________________________________________

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


  • Follow-Ups:
    • Re: Saving Outline View Column Widths
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >Saving Outline View Column Widths (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: How do I get those 1 pixel black lines into my app window?
  • Next by Date: Xcode and Cocoa docs and the Preview sidebar TOC
  • Previous by thread: Saving Outline View Column Widths
  • Next by thread: Re: Saving Outline View Column Widths
  • Index(es):
    • Date
    • Thread