jasonkneen / nl.fokkezb.form

[UNMAINTAINED] Alloy TableView Form Widget
http://form.fokkezb.nl/docs/
43 stars 15 forks source link

Weird scrolling behaviour #31

Closed parnanzio closed 8 years ago

parnanzio commented 8 years ago

Hi, I'm using the latest version of the widget, slightly updated with some designer requests.

When scrolling up and down the rows that go offscreen are partly toggled (now are visible, next time are hidden, and so on..), but not the whole row, just some part of it.

It's difficult to explain, so I prepared a video: https://youtu.be/At3mAohUBvs As you can see first two rows have values, when a row goes completely offscreen its value become hidden, when goes offscreen again it become visible, and so on..

NB: @HazemKhaled hinted me it could be a class problem, but I can't find a way to solve it.

parnanzio commented 8 years ago

If I scroll before giving a valute then the value is not visible, after hiding/showing the row the value becomes visible. The wrong row (without values) is the same row drawed when launching the controller. If I add a visible view to the row this is visible even when values disappear.

parnanzio commented 8 years ago

I found the problem. It was a height attribute on the form container that raised this weird problem.