From 98b99a79fd057894b93b67abe22c895e89196f03 Mon Sep 17 00:00:00 2001 From: Alexander Weber Date: Thu, 14 Dec 2017 12:14:15 +0100 Subject: [PATCH] mail: polish create message dialog --- apps/mail_app.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/mail_app.lua b/apps/mail_app.lua index edef751..e92e3f4 100644 --- a/apps/mail_app.lua +++ b/apps/mail_app.lua @@ -211,12 +211,12 @@ laptop.register_view("mail:compose", { account.newmessage = account.newmessage or {} local message = account.newmessage - local formspec = "background[-0.1,0.4;4.2,2.4;"..mtos.theme.contrast_bg.."]".. - "field[0.25,2;4,1;subject;Subject:;"..minetest.formspec_escape(message.subject or "").."]".. + local formspec = "background[0,0.4;8,2.4;"..mtos.theme.contrast_bg.."]".. + "label[0.25,2;Subject:]".."field[2.7,2;5,1;subject;;"..minetest.formspec_escape(message.subject or "").."]".. "background[0,3.05;7.95,3.44;"..mtos.theme.contrast_bg.."]".. "textarea[0.25,3;8,4;body;;"..minetest.formspec_escape(message.body or "").."]".. mtos.theme:get_button("0,8;2,1", "major", "send", "Send message").. - "dropdown[0,0.75;4,1;receiver;" + "label[0.25,0.75;Receiver:]".."dropdown[2.4,0.75;5.2,1;receiver;" local sortedtab = {} for playername,_ in pairs(cloud) do