sjDan2003 / Cookbook

0 stars 0 forks source link

Recycle view shrinks the size of each button rather than create them off screen #12

Closed sjDan2003 closed 5 years ago

sjDan2003 commented 5 years ago

In the demos of recycle view, it looked like when you create a new item in a recycle view, it'll create a new button of the same size. If that button won't fit in the current size, it'll appear off screen and the user can scroll from one side to another.

The current implementation of recycle view doesn't do this. This should be investigated and fixed.

sjDan2003 commented 5 years ago

Found out the cause for this was I was setting the default_size_hint_x to 1, which would take up the entire width of the recycle view. Changing this field fixed the issue.