Make full use of formspec size

master
Wuzzy 2016-08-05 07:43:14 +02:00
parent 536b76f46c
commit 8d47ead3c1
1 changed files with 3 additions and 3 deletions

View File

@ -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