How do I also 'color' the first table entry?
Posted: Tue Sep 27, 2016 4:31 pm
So deriving from the "browse_games_table_style" I have created the following table style:
However, when using it in game, it doesn't fill in the first row:
What do I do wrong?
Code: Select all
data.raw["gui-style"].default.row_table_style =
{
type = "table_style",
cell_padding = 5,
horizontal_spacing=0,
vertical_spacing=0,
odd_row_graphical_set =
{
type = "composition",
filename = "__core__/graphics/gui.png",
priority = "extra-high-no-scale",
corner_size = {3, 3},
position = {8, 0}
},
even_row_graphical_set =
{
type = "composition",
filename = "__core__/graphics/gui.png",
priority = "extra-high-no-scale",
corner_size = {3, 3},
position = {8, 0}
}
}