diff --git a/itemcontroller.lua b/itemcontroller.lua index 1e08d92..1966ea2 100644 --- a/itemcontroller.lua +++ b/itemcontroller.lua @@ -450,13 +450,14 @@ local PAGES = { }) end return List:new{ - bgColor = colors.cyan, + bgColor = KEYBOARD_BG_COLOR, [Orientation:getId()] = Orientation.HORIZONTAL, [Children:getId()] = keys } end local KEYBOARD_HPAD = 1 + local KEYBOARD_VPAD = 1 local keyboardWidth = KEYBOARD_HPAD * 2 for _,line in ipairs(keyboardLines.lines) do local keyLineList = charInputKeyList(line[1], line.backspace) @@ -473,7 +474,7 @@ local PAGES = { } table.insert(keyboardLines.elements, 1, paddedFilterText) - local keyboardList = Padding:new{ bgColor = KEYBOARD_BG_COLOR, left = KEYBOARD_HPAD, right = KEYBOARD_HPAD, element = List:new{ + local keyboardList = Padding:new{ bgColor = KEYBOARD_BG_COLOR, left = KEYBOARD_HPAD, right = KEYBOARD_HPAD, top = KEYBOARD_VPAD, bottom = KEYBOARD_VPAD, element = List:new{ bgColor = KEYBOARD_BG_COLOR, [Orientation:getId()] = Orientation.VERTICAL, [Children:getId()] = keyboardLines.elements