Hi everybody,
I’m trying to use tableView widget, but I have some problems.
display.setDefault( "background", 255, 0, 0 ) local group = self.view tableView = widget.newTableView { top = 100, width = display.contentWidth, height = 200, listener = tableViewListener, onRowRender = onRowRender, onRowUpdate = onRowUpdate, onRowTouch = onRowTouch, } group:insert( tableView )
With these settings, I expect tableView was printed from pixel number 100, to pixel number 300, as you can see in img1.png (white rect).
Starting application, instead, Row 4 and Row 5 are printed outside the region (blu line rect), as you can see in img2.png.
Scrolling up and down, my list is drawn even worse, if possible. See img3.png to to better understand.
What should I modify to draw tableView ONLY between the pixel 100 and 300?
Can someone help me, please?
Regards
Luca