NSOutlineView setAutoresizesOutlineColumn appears to have no effect.
| Originator: | oliver | ||
| Number: | rdar://14242845 | Date Originated: | 24-Jun-2013 01:39 PM |
| Status: | Behaves correctly | Resolved: | 31-Jul-2013 02:56 AM |
| Product: | OS X SDK | Product Version: | 10.8.4/12E55 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Setting setAutoresizesOutlineColumn to YES appears to have no effect. The OS X 10.8 SDK documentation states: Sets whether the receiver automatically resizes its outline column when the user expands or collapses an item. - (void)setAutoresizesOutlineColumn:(BOOL)resize Parameters resize YES if the outline column is automatically resized, otherwise NO. Discussion The outline column contains the cells with the expansion symbols and is generally the first column. The default is YES. Availability Available in OS X v10.0 and later. However in a simple sample project this option appears to have no effect. Steps to Reproduce: See attached sample project. Expected Results: That the first column of the outline would automatically expand or contract (resize) as items are expanded in the outline view. Actual Results: The column does not resize. Regression: I've not tried this on other OS versions but given the documentation description probably. Attachments: https://dl.dropboxusercontent.com/u/1632081/OpenRadar/NSOutlineView-Radar-14242845.zip
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
31-Jul-2013 02:56 AM Apple Developer Bug Reporting Team :
Engineering has determined that this issue behaves as intended based on the following information:
This is because columnSizing is set to "first column only". It needs to be set to something else, so the other columns can resize and "suck up" the additional width.
If you have questions regarding the resolution of this issue, please update your bug report with them.
We are now closing this bug report.
Please be sure to regularly check new Apple releases for any updates that might affect this issue.