summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-15 12:05:26 +0100
committerWuzzy <almikes@aol.com>2016-12-15 12:17:15 +0100
commited270627424fc6b9c7a9b5f9b961b9a4f43c7a9b (patch)
tree5ed8d5a6e873d6e20caf0e88cbfdc81bbcce3415 /init.lua
parent2f80cf7056d01e8fd144eab34de9d91372d5feec (diff)
Increase formspec size
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index c2650d2..72a1ed5 100644
--- a/init.lua
+++ b/init.lua
@@ -22,8 +22,8 @@ doc.VERSION.STRING = doc.VERSION.MAJOR.."."..doc.VERSION.MINOR.."."..doc.VERSION
-- Formspec information
doc.FORMSPEC = {}
-- Width of formspec
-doc.FORMSPEC.WIDTH = 12
-doc.FORMSPEC.HEIGHT = 9
+doc.FORMSPEC.WIDTH = 15
+doc.FORMSPEC.HEIGHT = 10.5
--[[ Recommended bounding box coordinates for widgets to be placed in entry pages. Make sure
all entry widgets are completely inside these coordinates to avoid overlapping. ]]
@@ -683,7 +683,7 @@ end)
function doc.formspec_core(tab)
if tab == nil then tab = 1 else tab = tostring(tab) end
- return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]tabheader[0,0;doc_header;"..
+ return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]bgcolor[#000000CC;true]tabheader[0,0;doc_header;"..
minetest.formspec_escape(S("Category list")) .. "," ..
minetest.formspec_escape(S("Entry list")) .. "," ..
minetest.formspec_escape(S("Entry")) .. ";"