diff --git a/milo/plugins/activityView.lua b/milo/plugins/activityView.lua index ed25afe..c95e48b 100644 --- a/milo/plugins/activityView.lua +++ b/milo/plugins/activityView.lua @@ -101,7 +101,7 @@ local function createPage(node) text = ' < ' }, resetButton = UI.Button { - x = 6, ex = -6, + x = 7, ex = -7, event = 'reset', backgroundColor = colors.lightGray, text = 'Reset' diff --git a/milo/plugins/shopView.lua b/milo/plugins/shopView.lua index 56a2cff..23ea831 100644 --- a/milo/plugins/shopView.lua +++ b/milo/plugins/shopView.lua @@ -60,8 +60,8 @@ local function createPage(node) unfocusedBackgroundSelectedColor = colors.gray, columns = { { heading = 'Stock', key = 'count', width = 6, justify = 'right' }, - { heading = ' Price', key = 'price', width = 9, justify = 'right' }, { heading = 'Name', key = 'displayName' }, + { heading = ' Price', key = 'price', width = 9, justify = 'right' }, { heading = 'Address', key = 'address', width = 12 }, }, sortColumn = 'displayName', @@ -120,8 +120,8 @@ local function createPage(node) function page.grid:getDisplayValues(row) row = Util.shallowCopy(row) - row.count = Util.toBytes(row.count) .. ' x' - row.price = row.price .. ' kst ' + row.count = Util.toBytes(row.count) .. ' ' + row.price = string.format('%s kst ', row.price) row.address = row.name return row end