NSTableView column resizing during window resizing
NSTableView column resizing during window resizing
- Subject: NSTableView column resizing during window resizing
- From: John Nairn <email@hidden>
- Date: Mon, 13 Oct 2003 14:22:39 -0600
I have table view with resizeable columns, but following a window
resize, the last column size often gets very narrow, particularly when
there are more columns then will fit in the scrolling view.
The cause seems to be that the NSTableView is continuously posting an
@"NSTableViewColumnDidResizeNotification" during window resize whenever
the last column is in view. It seems to want to set the last column to
have a size from its start to the end of the current visable area. My
code responds to that notification but I really only want resizes to be
activated by a user dragging a column header and not by window resize
because a window resize often makes the last column too small or too
large. How does one stop the resizing of the last column from tracking
window resize action? I only want to know about real column resizes
activated by dragging column lines?
------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page:
http://www.eng.utah.edu/~nairn
_______________________________________________
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.