diff options
author | Wuzzy <almikes@aol.com> | 2016-12-15 13:08:11 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-15 13:08:11 +0100 |
commit | 95d6117a053a43e7bf2dad0ef1f4de699052b2ae (patch) | |
tree | 4aa5721e5aa56aa8d2fb26984ccd691a931358ae | |
parent | 3ad984b9e84eb57eb91e34c3b42f504ebde25a53 (diff) |
Increase number of category buttons per column
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = {} |