diff options
author | Wuzzy <almikes@aol.com> | 2016-08-05 07:43:14 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-05 07:43:14 +0200 |
commit | 8d47ead3c1a566f95aa85c42d734f06442c201e2 (patch) | |
tree | 7673cd245346e7dd2900bb917a7932b108519a57 | |
parent | 536b76f46ca3d0728bb3dc96c43a2a256a6871f0 (diff) |
Make full use of formspec size
-rw-r--r-- | init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -198,7 +198,7 @@ doc.new_category("nodes", { if data.itemstring ~= "air" then formstring = formstring .. "item_image[11,0;1,1;"..data.itemstring.."]" end - formstring = formstring .. "textarea[0.25,0.5;11,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,10;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end @@ -543,7 +543,7 @@ doc.new_category("tools", { else formstring = formstring .. "item_image[11,0;1,1;"..data.itemstring.."]" end - formstring = formstring .. "textarea[0.25,0.5;11,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,10;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end @@ -598,7 +598,7 @@ doc.new_category("craftitems", { local longdesc = data.longdesc local usagehelp = data.usagehelp local formstring = "item_image[11,0;1,1;"..data.itemstring.."]" - formstring = formstring .. "textarea[0.25,0.5;11,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,10;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end |