Set nice background colors for item details
This commit is contained in:
parent
145bc90eae
commit
6bbe23983d
@ -339,24 +339,28 @@ local PAGES = {
|
||||
left = 1,
|
||||
right = 1,
|
||||
bottom = 0,
|
||||
bgColor = colors.red,
|
||||
element = List:new{
|
||||
bgColor = colors.red,
|
||||
[Orientation:getId()] = Orientation.VERTICAL,
|
||||
[Children:getId()] = {
|
||||
Text:new{ text = "Count" },
|
||||
Text:new{ text = tostring(group:getItemCount()) }
|
||||
Text:new{ text = "Count", bgColor = colors.red },
|
||||
Text:new{ text = tostring(group:getItemCount()), bgColor = colors.red }
|
||||
}
|
||||
}
|
||||
},
|
||||
Padding:new{
|
||||
bgColor = colors.blue,
|
||||
top = 0,
|
||||
left = 1,
|
||||
right = 1,
|
||||
bottom = 0,
|
||||
element = List:new{
|
||||
bgColor = colors.blue,
|
||||
[Orientation:getId()] = Orientation.VERTICAL,
|
||||
[Children:getId()] = {
|
||||
Text:new{ text = "Slot" },
|
||||
Text:new{ text = tostring(group:getStackCount()) }
|
||||
Text:new{ text = "Slot", bgColor = colors.blue },
|
||||
Text:new{ text = tostring(group:getStackCount()), bgColor = colors.blue }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user