Monday, 15 April 2013

xcode - NSTableView Drag&Drop selected rows overrides row layout in blue -



xcode - NSTableView Drag&Drop selected rows overrides row layout in blue -

i have nstableview shows images , text in every row. enabled multiple selection nstableview. , enabled drag&drop tableview sort or export images. happens that, when select more 1 row, , dragging them on tableview, whole row gets bluish , remains bluish (selected). text , images can not been seen. in xcode message:

layout still needs update after calling -[nstablerowview layout]. nstablerowview or 1 of superclasses may have overridden -layout without calling super. or, may have dirtied layout in middle of updating it. both programming errors in cocoa autolayout. former pretty arise if pre-cocoa autolayout class had method called layout, should fixed.

the problem exists multiple selection. when enabling single selection works fine.

here 3 pictures demonstrate problem:

picture 2: when dragging on gets finish blue; overriding other layout components

http://ekiwi.de/temp/stackoverflow/original2.png

picture 3: after dragging remains blue

http://ekiwi.de/temp/stackoverflow/original3.png

until didn't find solution or hint googling 2 days. perhaps here have hint?

xcode cocoa selection nstableview multiple-select

No comments:

Post a Comment