Re: NSTableView Column Count

2011-03-16 Thread Kyle Sluder
On Wed, Mar 16, 2011 at 8:44 AM, Nicholas Zaccardi wrote: > In order for a single column to fill the entire width of a scroll > view, I have to make the width of the column the width of the scroll > view - the scroll bars? > > For example, a scroll view is 100 wide and my NSTableView is also 100 >

Re: NSTableView Column Count

2011-03-16 Thread Nicholas Zaccardi
Okay. This is not a problem per say, but let me make sure I understand you. In order for a single column to fill the entire width of a scroll view, I have to make the width of the column the width of the scroll view - the scroll bars? For example, a scroll view is 100 wide and my NSTableView is

Re: NSTableView Column Count

2011-03-16 Thread Kyle Sluder
On Wed, Mar 16, 2011 at 8:09 AM, Nicholas Zaccardi wrote: > That did not work for me, I resized it manually and it works, but I > want to have IB do it automatically. Have IB do what automatically? NSTableView doesn't autoresize its columns unless they fit the exact visible width of the enclosing

Re: NSTableView Column Count

2011-03-16 Thread Nicholas Zaccardi
That did not work for me, I resized it manually and it works, but I want to have IB do it automatically. Thanks for any more suggestions. On Wed, Mar 16, 2011 at 10:13 AM, Indragie Karunaratne wrote: > This is a weird solution that worked for me: > > 1. Decrease column count to one > 2. Click th

Re: NSTableView Column Count

2011-03-16 Thread Indragie Karunaratne
This is a weird solution that worked for me: 1. Decrease column count to one 2. Click the "Headers" checkbox to disable table headers 3. Click the "Headers" checkbox again to re-enable table headers, and it automatically sizes your single column to fill the entire width of the table This seems t

Re: NSTableView Column Count

2011-03-16 Thread Nicholas Zaccardi
Thanks for the suggestion. How would I check or correct that? On Wed, Mar 16, 2011 at 1:13 AM, Scott Anguish wrote: > > On Mar 15, 2011, at 1:13 PM, Nicholas Zaccardi wrote: > >> I am trying to make an NSTableView with only one column. Here is what I do: >> >> 1. Open nib >> 2. Add TableView >>

Re: NSTableView Column Count

2011-03-15 Thread Scott Anguish
On Mar 15, 2011, at 1:13 PM, Nicholas Zaccardi wrote: > I am trying to make an NSTableView with only one column. Here is what I do: > > 1. Open nib > 2. Add TableView > 3. Decrease column count > 4. Save the NIB > > However if I build and run, I still get 2 columns. Any suggestions? are you su