• 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: Variable row heights in NSTableView ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable row heights in NSTableView ?


  • Subject: Re: Variable row heights in NSTableView ?
  • From: Drew McCormack <email@hidden>
  • Date: Tue, 20 Aug 2002 21:00:58 +0200

Does anyone know if it is at all possible to create a subclass of NSTableView that would be able to support user definable variable row heights ? I understand that this 'feature' was omitted for performance reasons but, it should have at least been made available for developers who might require it. Is there an example of this capability somewhere? Iis it even possible given the existing NSTableView API ??
This is one of those questions that comes up regularly. The last time it came up, I posted the code for a prototype I created for such a subclass. Search the archives for "Varying Row Heights".

It is possible to have varying row heights. See the code I posted to find out which methods to override. I was able to get rows with varying sizes, which would resize as text was entered. What I wasn't able to do was get the field editor to resize. I now think this could be fixed by setting the clipping rectangle of the graphics context in some way, though I haven't tried it out. If someone could crack this nut, there would be many grateful people, I suspect. You may become a legend overnight!

Drew

... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Dr. Drew McCormack
Trade Strategist (www.trade-strategist.com)
Trading simulation software for Mac OS X
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Variable row heights in NSTableView ?
      • From: Georg Tuparev <email@hidden>
References: 
 >Variable row heights in NSTableView ? (From: Robert Miller <email@hidden>)

  • Prev by Date: Re: Creating a Mach-O library?
  • Next by Date: Re: Variable row heights in NSTableView ?
  • Previous by thread: Re: Variable row heights in NSTableView ?
  • Next by thread: Re: Variable row heights in NSTableView ?
  • Index(es):
    • Date
    • Thread