You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I had an issue where my footer was not displaying at the right height. I believe the cause was below, where the calculation of the actual height of the grid was incorrect. If anyone else can confirm this, I can write this up as a bug and patch.
I would expect that for a grid with 4 items per row, having either 19 or 20 items in the grid would yield a result of 4 x the cell height. This line works for 19, but not 20--that ends up being 5 rows high.
Hi, I had an issue where my footer was not displaying at the right height. I believe the cause was below, where the calculation of the actual height of the grid was incorrect. If anyone else can confirm this, I can write this up as a bug and patch.
The issue I saw was on line 694 of AQGridView.m:
I would expect that for a grid with 4 items per row, having either 19 or 20 items in the grid would yield a result of 4 x the cell height. This line works for 19, but not 20--that ends up being 5 rows high.
The fix I made was:
Not sure if I broke intended behavior or not, but I know my footer positions properly now.
The text was updated successfully, but these errors were encountered: