简体   繁体   中英

View based NSTableView and row heights

I'm beginning to try and build an OSX app.

I'm using NSTableView with it set as view-based, however I want the rows to wrap properly (so all of the text in each is shown at once) however I can't seem to find out how do to this.

Using the rowHeight delegate method seems to point to cell-based NSTableViews so I don't know if I'm doing that right or not.

First select NSTableView and then Size Inspector and set row height: 在此处输入图片说明

and then select table cell view's which you want change: 在此处输入图片说明

And if you want then you can move or resize your table view cell if you want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM