milo monitor button sizes
This commit is contained in:
@@ -82,7 +82,7 @@ local function createPage(node)
|
|||||||
local page = UI.Page {
|
local page = UI.Page {
|
||||||
parent = monitor,
|
parent = monitor,
|
||||||
grid = UI.Grid {
|
grid = UI.Grid {
|
||||||
ey = -6,
|
ey = -2,
|
||||||
columns = {
|
columns = {
|
||||||
{ heading = 'Qty', key = 'count', width = 5 },
|
{ heading = 'Qty', key = 'count', width = 5 },
|
||||||
{ heading = 'Change', key = 'change', width = 5 },
|
{ heading = 'Change', key = 'change', width = 5 },
|
||||||
@@ -92,22 +92,22 @@ local function createPage(node)
|
|||||||
sortColumn = 'displayName',
|
sortColumn = 'displayName',
|
||||||
},
|
},
|
||||||
buttons = UI.Window {
|
buttons = UI.Window {
|
||||||
y = -5, height = 5,
|
y = -1,
|
||||||
backgroundColor = colors.gray,
|
backgroundColor = colors.gray,
|
||||||
prevButton = UI.Button {
|
prevButton = UI.Button {
|
||||||
x = 2, y = 2, height = 3, width = 5,
|
x = 2, width = 5,
|
||||||
event = 'previous',
|
event = 'previous',
|
||||||
backgroundColor = colors.lightGray,
|
backgroundColor = colors.lightGray,
|
||||||
text = ' < '
|
text = ' < '
|
||||||
},
|
},
|
||||||
resetButton = UI.Button {
|
resetButton = UI.Button {
|
||||||
x = 8, y = 2, height = 3, ex = -8,
|
x = 8, ex = -8,
|
||||||
event = 'reset',
|
event = 'reset',
|
||||||
backgroundColor = colors.lightGray,
|
backgroundColor = colors.lightGray,
|
||||||
text = 'Reset'
|
text = 'Reset'
|
||||||
},
|
},
|
||||||
nextButton = UI.Button {
|
nextButton = UI.Button {
|
||||||
x = -6, y = 2, height = 3, width = 5,
|
x = -6, width = 5,
|
||||||
event = 'next',
|
event = 'next',
|
||||||
backgroundColor = colors.lightGray,
|
backgroundColor = colors.lightGray,
|
||||||
text = ' > '
|
text = ' > '
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ local function createPage(node)
|
|||||||
local page = UI.Page {
|
local page = UI.Page {
|
||||||
parent = monitor,
|
parent = monitor,
|
||||||
grid = UI.Grid {
|
grid = UI.Grid {
|
||||||
ey = -6,
|
--ey = -6,
|
||||||
sortColumn = 'index',
|
sortColumn = 'index',
|
||||||
columns = {
|
columns = {
|
||||||
{ heading = 'Qty', key = 'remaining', width = 4 },
|
{ heading = 'Qty', key = 'remaining', width = 4 },
|
||||||
@@ -95,6 +95,7 @@ local function createPage(node)
|
|||||||
-- { heading = 'Progress', key = 'progress', width = 8 },
|
-- { heading = 'Progress', key = 'progress', width = 8 },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
--[[
|
||||||
buttons = UI.Window {
|
buttons = UI.Window {
|
||||||
y = -5, height = 5,
|
y = -5, height = 5,
|
||||||
backgroundColor = colors.gray,
|
backgroundColor = colors.gray,
|
||||||
@@ -117,6 +118,7 @@ local function createPage(node)
|
|||||||
text = ' > '
|
text = ' > '
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
]]
|
||||||
}
|
}
|
||||||
|
|
||||||
function page:updateList(craftList)
|
function page:updateList(craftList)
|
||||||
|
|||||||
Reference in New Issue
Block a user