From 95d6117a053a43e7bf2dad0ef1f4de699052b2ae Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 15 Dec 2016 13:08:11 +0100 Subject: Increase number of category buttons per column --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 7aa8809..9f67d27 100644 --- a/init.lua +++ b/init.lua @@ -40,8 +40,8 @@ doc.FORMSPEC.ENTRY_HEIGHT = doc.FORMSPEC.ENTRY_END_Y - doc.FORMSPEC.ENTRY_START_ local DOC_INTRO = S("This is the help.") local CATEGORYFIELDSIZE = { - WIDTH = 4, - HEIGHT = 8, + WIDTH = math.ceil(doc.FORMSPEC.WIDTH / 4), + HEIGHT = math.floor(doc.FORMSPEC.HEIGHT-1), } doc.data = {} -- cgit v1.2.3