widget.newTableView() and graphics 1.0

Hi 

I have my graphicsCompatibility set to 1 in my config.lua, and I’m trying to use the widget library.

Colours do not seem to be working - i cannot change the colour of the background of the rows and the separating lines are either white or not there - I’m not sure.

Is this because I’m using graphics 1.0 or is there something I’m missing?

Here’s some code;

for i = 1, #names do

   myList:insertRow{

      rowHeight = 60,

      isCategory = false,

      rowColor = { 255, 255, 255 }, – I’ve tried RGB which is what I’d expect because of graphics 1.0

      lineColor = { 0.5, 0.5, 0.5 } – I’ve also tried the new colour system (0-1), but that isn’t working either

   }

end 

Thanks

According to the docs rowColor has to be a table with two color tables:

rowColor = { default={ 1, 1, 1 }, over={ 1, 0.5, 0, 0.2 } }

or in compat mode

rowColor = { default={ 255, 255, 255 }, over={ 255, 127, 0, 50 } }

Thanks, solved! 

According to the docs rowColor has to be a table with two color tables:

rowColor = { default={ 1, 1, 1 }, over={ 1, 0.5, 0, 0.2 } }

or in compat mode

rowColor = { default={ 255, 255, 255 }, over={ 255, 127, 0, 50 } }

Thanks, solved!