Hi,
when I use strings for list items of NewList - everything is fine, but if I use morphs - I get a strange artifacts if another window showers over them. Here is an example video: https://dl.dropboxusercontent.com/u/83145561/morphItems.mov Maybe some morph gurus have an idea what’s wrong? For now I’ve discovered that all items render themselves with #listRenderOn:atRow:bounds:color:backgroundColor:from: Cheers! Uko
|
2015-05-05 14:13 GMT+02:00 Yuriy Tymchuk <[hidden email]>:
I can not reproduce this, how do you draw the items? Did you use NewListModel or do you use just NewList ?
|
In reply to this post by Uko2
|
In reply to this post by Nicolai Hess
I use just NewList because I need a plain morph. For items I use a method like:
listItemFor: anObject | listItem | listItem := Morph new “setup morph" yourself. “add submorphs" ^ listItem Uko
|
In reply to this post by Pharo Smalltalk Developers mailing list
Should I use another morph?
Uko
|
In reply to this post by Uko2
2015-05-06 14:38 GMT+02:00 Yuriy Tymchuk <[hidden email]>:
No, I still can not reproduce this one. Can you share your source?
|
Free forum by Nabble | Edit this page |