Tableview possible bug with last 2 rows not showing inside container

With Graphics 2.0, I created a container (760 width, 342 height) in which I insert a Tableview with no width and height specified. The container is place in the middle of the screen. 

I then insert 7 rows at 70 height and one category row at 14 height before each line. 

Problem is when I scroll down, the last 2 rows don’t show up. With the mouse, if I “force” scrolling up to see the last rows, I can see it appear but if I let go, it springs back to the 5th row. 

This problem was not there before Graphics 2.0

* Bug was reported with code (case 28647)

 

Hi @claudeturcot,

To clarify, you’re actually creating your own container and then placing a full-sized tableView within it? But you’re not just specifying the tableView size and letting the internal container handle the bounds?

Brent

I’m not sure this is really a bug.  TableView’s when you don’t specify a height and width, then the default is the width and height of the content area defined in your config.lua.  If you then insert that full screen tableView into a container, that doesn’t change the size of the tableView, it just clips it.  The bottom rows are still there, just outside the container.

If you know you need your tableView to be 760 x 342, simply add a height = 342, width = 760 to the creation of the tableView and don’t use the other container.  You will likely run into additional problems because of nested masking if you try to put a tableView in your own container.

Rob

All is good now! my mistake! I didn’t know that a tableView was a container as well. 

Hi @claudeturcot,

To clarify, you’re actually creating your own container and then placing a full-sized tableView within it? But you’re not just specifying the tableView size and letting the internal container handle the bounds?

Brent

I’m not sure this is really a bug.  TableView’s when you don’t specify a height and width, then the default is the width and height of the content area defined in your config.lua.  If you then insert that full screen tableView into a container, that doesn’t change the size of the tableView, it just clips it.  The bottom rows are still there, just outside the container.

If you know you need your tableView to be 760 x 342, simply add a height = 342, width = 760 to the creation of the tableView and don’t use the other container.  You will likely run into additional problems because of nested masking if you try to put a tableView in your own container.

Rob

All is good now! my mistake! I didn’t know that a tableView was a container as well.