diff --git a/mods/ITEMS/mcl_books/init.lua b/mods/ITEMS/mcl_books/init.lua index 42ec292e16..875037050f 100644 --- a/mods/ITEMS/mcl_books/init.lua +++ b/mods/ITEMS/mcl_books/init.lua @@ -73,9 +73,9 @@ local write = function(itemstack, user, pointed_thing) local text = get_text(itemstack) local formspec = "size[8,9]".. "background[-0.5,-0.5;9,10;mcl_books_book_bg.png]".. - "textarea[0.5,0.25;7.5,9.25;text;;"..minetest.formspec_escape(text).."]".. - "button[0.5,8.15;3,1;sign;Sign]".. - "button_exit[4,8.15;3,1;ok;Done]" + "textarea[0.75,0.1;7.25,9;text;;"..minetest.formspec_escape(text).."]".. + "button[0.75,7.95;3,1;sign;Sign]".. + "button_exit[4.25,7.95;3,1;ok;Done]" minetest.show_formspec(user:get_player_name(), "mcl_books:writable_book", formspec) end @@ -93,8 +93,8 @@ local read = function(itemstack, user, pointed_thing) local text = get_text(itemstack) local formspec = "size[8,9]".. "background[-0.5,-0.5;9,10;mcl_books_book_bg.png]".. - "textarea[0.5,0.25;7.5,9.25;;"..core.colorize("#000000", minetest.formspec_escape(text))..";]".. - "button_exit[2.5,8.15;3,1;ok;Done]" + "textarea[0.75,0.1;7.25,9;;"..core.colorize("#000000", minetest.formspec_escape(text))..";]".. + "button_exit[2.25,7.95;3,1;ok;Done]" minetest.show_formspec(user:get_player_name(), "mcl_books:written_book", formspec) end @@ -125,11 +125,11 @@ minetest.register_on_player_receive_fields(function ( player, formname, fields ) local name = player:get_player_name() local formspec = "size[8,9]".. "background[-0.5,-0.5;9,10;mcl_books_book_bg.png]".. - "field[0.5,1;7.5,1;title;"..core.colorize("#000000", "Enter book title:")..";]".. - "label[0.5,1.5;"..core.colorize("#404040", minetest.formspec_escape("by " .. name)).."]".. - "label[0.5,7.15;"..core.colorize("#000000", "Note: The book will no longer") .. "\n" .. core.colorize("#000000", "be editable after signing.").."]".. - "button_exit[0.5,8.15;3,1;sign;Sign and Close]".. - "button[4,8.15;3,1;cancel;Cancel]" + "field[0.75,1;7.25,1;title;"..core.colorize("#000000", "Enter book title:")..";]".. + "label[0.75,1.5;"..core.colorize("#404040", minetest.formspec_escape("by " .. name)).."]".. + "label[0.75,6.95;"..core.colorize("#000000", "Note: The book will no longer") .. "\n" .. core.colorize("#000000", "be editable after signing.").."]".. + "button_exit[0.75,7.95;3,1;sign;Sign and Close]".. + "button[4.25,7.95;3,1;cancel;Cancel]" minetest.show_formspec(player:get_player_name(), "mcl_books:signing", formspec) end end diff --git a/mods/ITEMS/mcl_books/textures/mcl_books_book_bg.png b/mods/ITEMS/mcl_books/textures/mcl_books_book_bg.png index 950456c52f..835c54407e 100644 Binary files a/mods/ITEMS/mcl_books/textures/mcl_books_book_bg.png and b/mods/ITEMS/mcl_books/textures/mcl_books_book_bg.png differ