From 0b0dc7cdca6899d0241563e29854b60a7285cc85 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 3 Aug 2016 00:03:56 +0200 Subject: Make help texts start closer to top --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 1298716..fcd2d22 100644 --- a/init.lua +++ b/init.lua @@ -140,7 +140,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,1;10,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,8;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end @@ -401,7 +401,7 @@ doc.new_category("tools", { else formstring = formstring .. "item_image[11,0;1,1;"..data.itemstring.."]" end - formstring = formstring .. "textarea[0.25,1;10,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,8;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end @@ -466,7 +466,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,1;10,8;;" + formstring = formstring .. "textarea[0.25,0.5;11,8;;" if longdesc ~= nil then formstring = formstring .. "Description: "..minetest.formspec_escape(longdesc).."\n\n" end -- cgit v1.2.3