Re: NSTableView with reversed rows?

2014-10-03 Thread Luc Van Bogaert
Sure, the table will display 'layer' objects that can be stacked onto each other. So the first layer should be displaced at the bottom of the stack, the second layer on top of the first, and so on... So in fact, I would like to have a table that represents a stack of objects that 'grows'

Re: NSTableView with reversed rows?

2014-10-03 Thread Graham Cox
On 3 Oct 2014, at 4:25 pm, Luc Van Bogaert luc.van.boga...@me.com wrote: Sure, the table will display 'layer' objects that can be stacked onto each other. So the first layer should be displaced at the bottom of the stack, the second layer on top of the first, and so on... So in fact, I

Re: NSTableView with reversed rows?

2014-10-03 Thread Jonathan Mitchell
On 3 Oct 2014, at 07:25, Luc Van Bogaert luc.van.boga...@me.com wrote: Sure, the table will display 'layer' objects that can be stacked onto each other. So the first layer should be displaced at the bottom of the stack, the second layer on top of the first, and so on... So in fact, I would

Re: NSTableView with reversed rows?

2014-10-03 Thread Willeke
Op 2 okt 2014, om 23:13 heeft Luc Van Bogaert het volgende geschreven: That's not exactly what I meant, but it might be part of a solution. I want the table to populate 'from the bottom to the top', so that the free space in the scrollview (if there is any) is at the top, above the top

NSTableView with reversed rows?

2014-10-02 Thread Luc Van Bogaert
Hi, I would like to implement a table (in a scrollview) where the first row displays at the bottom instead of at the top, the second row above the first and so on. How would I go about to accomplish this? I've tried overriding 'isFlipped' in a subclass of the scrollview and the tableview but

Re: NSTableView with reversed rows?

2014-10-02 Thread Jonathan Mitchell
On 2 Oct 2014, at 20:45, Luc Van Bogaert luc.van.boga...@me.com wrote: Hi, I would like to implement a table (in a scrollview) where the first row displays at the bottom instead of at the top, the second row above the first and so on. How would I go about to accomplish this? I've tried

Re: NSTableView with reversed rows?

2014-10-02 Thread Jonathan Hull
Have you considered just inverting the data source? Thanks, Jon On Oct 2, 2014, at 12:45 PM, Luc Van Bogaert luc.van.boga...@me.com wrote: Hi, I would like to implement a table (in a scrollview) where the first row displays at the bottom instead of at the top, the second row above the

Re: NSTableView with reversed rows?

2014-10-02 Thread Luc Van Bogaert
That's not exactly what I meant, but it might be part of a solution. I want the table to populate 'from the bottom to the top', so that the free space in the scrollview (if there is any) is at the top, above the top row, instead of below the bottom table row. I hope I have expressed more clear

Re: NSTableView with reversed rows?

2014-10-02 Thread Quincey Morris
Why not enforce a minimum row count that accounts for the height of the table. Then, have your data source provide dummy rows for the ones at the top, when the actual count is less than the enforced count. You can have a special table cell for the dummy rows, or just hide all the content that

Re: NSTableView with reversed rows?

2014-10-02 Thread Graham Cox
On 3 Oct 2014, at 7:13 am, Luc Van Bogaert luc.van.boga...@me.com wrote: I want the table to populate 'from the bottom to the top', so that the free space in the scrollview (if there is any) is at the top, above the top row, instead of below the bottom table row. May I ask why? Users are