2 possible problems with TableView in G2

Hi Ash,

Can you describe your issue in more detail? Are you speaking about line separators for the table view? If so, are you using the built-in table view “lines”, or are you creating those lines yourself within each row? What is your content area size? What is the width (thickness) of these lines? When do they flicker?

Thanks,

Brent

Has there been a fix found for this bug? I’m still experiencing being unable to remove a line that badly flickers between TableView rows.

Thanks in Advance,

Ash

Hi Ash,

Can you describe your issue in more detail? Are you speaking about line separators for the table view? If so, are you using the built-in table view “lines”, or are you creating those lines yourself within each row? What is your content area size? What is the width (thickness) of these lines? When do they flicker?

Thanks,

Brent

I’m using the Corona’s TableView.

  1. There is a gap from the left hand edge of the device screen to where the in-built line of the TableView begins. The line is supposed to be flush to the edge.

  2. Rendering issue on Simulators: When zoomed out the lines between tables flicker (when vertically scrolling). However if you zoom in far enough with the Simulator it stops flickering. This issue is just annoying because the amount you have to zoom in is prohibitive.

Thanks in Advance,

Without seeing a screen shot and your creation code, it’s going to be hard to address #1.

For #2, this is the reality of high resolution devices.  If you’re screen is only 800 pixels high and you’re trying to simulate a 1920 pixel high screen, you have to halve and or quarter the screen size to make it fit on your screen.  We have to throw away pixels as we resize the screen.  Going from 100% to 50% means loosing half the vertical pixels.   That means a 1 pixel divider line may or may not show up as things move on and off of even/odd numbered pixel rows.

Rob

https://trello-attachments.s3.amazonaws.com/546e246d189d6f4ca7ac3fea/251x622/d09dc5dc143f2b73d5f16ff92d8f9f18/Screen_Shot_2015-05-16_at_17.12.16.png

TableView creation code:

tableView = widget.newTableView { top = scrollview\_middle.y + scrollview\_middle.contentHeight\*.5, left = 0, width = (viewableScreenW)+ox+ox, height = viewableScreenH/3, hideBackground = false, listener = tableViewListener, onRowRender = onRowRender, onRowUpdate = onRowUpdate, --onRowTouch = onRowTouch, } group:insert(tableView)

The group it’s contained in has 0 ‘x’ position and when I try moving the TableView, the line (and its gap) follows.

It seems to follow what people above are experiencing too.

Thanks,

Pick up an iOS 7 or 8 device and find an app with a tableView.  The line is offset by 15 points roughly.  If you don’t like that, you an set nolines = true as part of your constructor and in your onRowRender function add your own line at the bottom of the row.

Rob

Thanks for the confirmation, Rob. That’s what we’ll do.

I’m using the Corona’s TableView.

  1. There is a gap from the left hand edge of the device screen to where the in-built line of the TableView begins. The line is supposed to be flush to the edge.

  2. Rendering issue on Simulators: When zoomed out the lines between tables flicker (when vertically scrolling). However if you zoom in far enough with the Simulator it stops flickering. This issue is just annoying because the amount you have to zoom in is prohibitive.

Thanks in Advance,

Without seeing a screen shot and your creation code, it’s going to be hard to address #1.

For #2, this is the reality of high resolution devices.  If you’re screen is only 800 pixels high and you’re trying to simulate a 1920 pixel high screen, you have to halve and or quarter the screen size to make it fit on your screen.  We have to throw away pixels as we resize the screen.  Going from 100% to 50% means loosing half the vertical pixels.   That means a 1 pixel divider line may or may not show up as things move on and off of even/odd numbered pixel rows.

Rob

https://trello-attachments.s3.amazonaws.com/546e246d189d6f4ca7ac3fea/251x622/d09dc5dc143f2b73d5f16ff92d8f9f18/Screen_Shot_2015-05-16_at_17.12.16.png

TableView creation code:

tableView = widget.newTableView { top = scrollview\_middle.y + scrollview\_middle.contentHeight\*.5, left = 0, width = (viewableScreenW)+ox+ox, height = viewableScreenH/3, hideBackground = false, listener = tableViewListener, onRowRender = onRowRender, onRowUpdate = onRowUpdate, --onRowTouch = onRowTouch, } group:insert(tableView)

The group it’s contained in has 0 ‘x’ position and when I try moving the TableView, the line (and its gap) follows.

It seems to follow what people above are experiencing too.

Thanks,

Pick up an iOS 7 or 8 device and find an app with a tableView.  The line is offset by 15 points roughly.  If you don’t like that, you an set nolines = true as part of your constructor and in your onRowRender function add your own line at the bottom of the row.

Rob

Thanks for the confirmation, Rob. That’s what we’ll do.