Set item group list colors
This commit is contained in:
parent
97b29a30a5
commit
c51a46135a
@ -478,22 +478,23 @@ local PAGES = {
|
||||
}
|
||||
|
||||
for i=1,groupEntryListBudget do
|
||||
local bgColor = (i % 2 == 0) and colors.gray or colors.black
|
||||
table.insert(
|
||||
entries,
|
||||
Prop.attach(
|
||||
List:new{
|
||||
id = tostring(i),
|
||||
bgColor = (i % 2 == 0) and colors.gray or colors.black,
|
||||
bgColor = bgColor,
|
||||
[Orientation:getId()] = Orientation.HORIZONTAL,
|
||||
[Children:getId()] = {
|
||||
Padding:new{
|
||||
id = GroupEntryID.PADDING,
|
||||
bgColor = (i % 2 == 0) and colors.gray or colors.black,
|
||||
element = Text:new{ id = GroupEntryID.NAME }
|
||||
bgColor = bgColor,
|
||||
element = Text:new{ id = GroupEntryID.NAME, bgColor = bgColor }
|
||||
},
|
||||
Text:new{
|
||||
id = GroupEntryID.COUNT,
|
||||
bgColor = (i % 2 == 0) and colors.gray or colors.black
|
||||
bgColor = bgColor
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user