• 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: alternative to NSMatrix due to cell size restriction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: alternative to NSMatrix due to cell size restriction


  • Subject: Re: alternative to NSMatrix due to cell size restriction
  • From: Eric Boo <email@hidden>
  • Date: Thu, 18 Feb 2010 01:03:01 +0800

Thanks, for reference, if someone is doing it this way, this link can help:
http://www.noodlesoft.com/blog/2009/10/20/yet-another-way-to-mimic-the-artwork-column-in-cocoa/

However, it also means that even the rows of the columns will align.
Each artwork cell's bottom will align with the bottom of other
columns' cells in the corresponding rows.

In order to not have any cell alignment at all across columsn, I'm
thinking of an NSTableView with say, 3 columns (user modifiable), and
only 1 row.
In each cell in that row, there will be an NSTableView with 1 column
and many rows.

I wonder if this is possible? I can't find any information about
embedding tables in cells.


On Wed, Feb 17, 2010 at 11:07 PM, Steven Degutis
<email@hidden> wrote:
> You may want to use an NSTableView instead, sort of along the lines of what
> iTunes uses in its many different kinds of table-based modes. (Especially
> that new one with the artwork.)
> -Steven
>
> On Wed, Feb 17, 2010 at 6:17 AM, Eric Boo <email@hidden> wrote:
>>
>> Hi All,
>>
>> I have an NSView in which I'm placing an NSMatrix, with the number of
>> columns modifiable by the user.
>>
>> The problem is that I need to have cells of differences sizes in the
>> NSMatrix so perhaps NSMatrix is not suitable for me.
>>
>> The user will be able to drag stuff (text, images etc) into each cell,
>> resulting in differing cell dimensions.
>>
>> So if NSMatrix isn't suitable because every cell is of the same size,
>> what else can I use?
>>
>> Thanks!
>>
>> Eric
>> _______________________________________________
>>
>> 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
>
>
>
> --
> Steven Degutis
> http://www.thoughtfultree.com/
> http://www.degutis.org/
>
_______________________________________________

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: 
 >alternative to NSMatrix due to cell size restriction (From: Eric Boo <email@hidden>)
 >Re: alternative to NSMatrix due to cell size restriction (From: Steven Degutis <email@hidden>)

  • Prev by Date: Re: NSData category
  • Next by Date: Quartz2D paths from vector?
  • Previous by thread: Re: alternative to NSMatrix due to cell size restriction
  • Next by thread: Re: alternative to NSMatrix due to cell size restriction
  • Index(es):
    • Date
    • Thread