From 905783ad7af5ea1283ec39496e78b86445ac547c Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sun, 13 Jan 2019 16:25:16 -0500 Subject: [PATCH] milo shop tweaks --- milo/plugins/activityView.lua | 6 +++--- milo/plugins/item/shopTab.lua | 2 +- milo/plugins/shopView.lua | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/milo/plugins/activityView.lua b/milo/plugins/activityView.lua index 02ed0a4..ed25afe 100644 --- a/milo/plugins/activityView.lua +++ b/milo/plugins/activityView.lua @@ -95,19 +95,19 @@ local function createPage(node) y = -1, backgroundColor = colors.gray, prevButton = UI.Button { - x = 2, width = 5, + x = 1, width = 5, event = 'previous', backgroundColor = colors.lightGray, text = ' < ' }, resetButton = UI.Button { - x = 8, ex = -8, + x = 6, ex = -6, event = 'reset', backgroundColor = colors.lightGray, text = 'Reset' }, nextButton = UI.Button { - x = -6, width = 5, + x = -5, width = 5, event = 'next', backgroundColor = colors.lightGray, text = ' > ' diff --git a/milo/plugins/item/shopTab.lua b/milo/plugins/item/shopTab.lua index fde7bd8..3f8f320 100644 --- a/milo/plugins/item/shopTab.lua +++ b/milo/plugins/item/shopTab.lua @@ -15,7 +15,7 @@ local storeTab = UI.Window { formLabel = 'Name', formKey = 'name', help = 'Unique name used when paying for an item', required = true, - width = 16, + width = 12, limit = 64, }, [2] = UI.TextEntry { diff --git a/milo/plugins/shopView.lua b/milo/plugins/shopView.lua index 18a5c88..56a2cff 100644 --- a/milo/plugins/shopView.lua +++ b/milo/plugins/shopView.lua @@ -62,7 +62,7 @@ local function createPage(node) { heading = 'Stock', key = 'count', width = 6, justify = 'right' }, { heading = ' Price', key = 'price', width = 9, justify = 'right' }, { heading = 'Name', key = 'displayName' }, - { heading = 'Address', key = 'address', width = 16 }, + { heading = 'Address', key = 'address', width = 12 }, }, sortColumn = 'displayName', },