osx - How to set the width of the view displayed as a row in a NSTableView? -


i have view-based nstableview.

i have created nsview insert in nstableview row. in xib defining nsview, latter has width set 280.

enter image description here

when add nsview nstableview, width of former changed equal width of nstableview.

enter image description here

is there nice way prevent behavior ? thought of including nsview in one, feel bit hacky.

if possible, solution involves settings of nstableview. nstableview indeed populated many differents nsviews.

as mentioned in comment previous question. want add own views subviews of nstablecellviews. nstablecellview set width of table, child view can width like.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -