<@U0F3291QE> I'm trying to debug some odd behaviou...
# tornadofx
g
@edvin I'm trying to debug some odd behaviour in an
ListCellFragment
. I commented out the
cellFragment{...}
call on the ListView and reran the app to see what shows up in the listview. If I debug the layout I still see a bunch of installed `SmartListCell`s. What would be installing these in the ListView?
@edvin - I figured it out - it is a side effect of an
onEdit{    }
listener. In fact that listener will interfere with a
cellFormat{   }
in the same listview.
e
@gtnarg Yeah, a few things can end up with installing SmartListCells. How is it interfering?
g
The cell will display blank
If I remove the
onEdit
listener it displays correctly
e
If you specify
onEdit
after
cellFormat
it should be fine. In which order did you do them?
(So there might be a bug here)
g
It was specified after
I'm still trying to diagnose an issue with my
ListCellFragment
so I might have a couple other questions 🙂
e
Ah, I see how this can happen actually. I will try to make a fix for it later today, but I'm kind of swamped. Have to run now, will check in later!
g
thanks!