From 8d47ead3c1a566f95aa85c42d734f06442c201e2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 5 Aug 2016 07:43:14 +0200 Subject: Make full use of formspec size --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 216a300..ea3b285 100644 --- a/init.lua +++ b/init.lua @@ -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 -- cgit v1.2.3