The 5-6 bottom pixels of content in my TableView disappears outside the mobile screen when scrolling the TableView to the bottom.
(I can drag the TableView to reveal the bottom and some space below, like you always can with table views, but when I let go of the touch screen, the TableView positions itself so that those pixels are outside the screen again).
My Mask.png file is 320x420 pixels, consisting of 316x416 pixels of white surrounded by 2x2 pixels of black, and my TableView is set up like this:
[lua]local options = {
top = 64,
height = 416,
hideBackground = true,
maskFile = “Mask.png”,
topPadding = 0,
}
list = widget.newTableView(options)[/lua]
- Is there something wrong with my code?
- Is it because target devices have different sizes, and imprecisions like this have to be accounted for?
- Is there a property I can set that will add some extra space at the bottom of the TableView?
Someone on the forum suggested to just add a blank image of some height to the bottom of the ScrollView, but I’d rather not do hacks unless it’s the only possible approach.
[import]uid: 73434 topic_id: 35163 reply_id: 335163[/import]