mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Rework header layout to add better space for date
This commit is contained in:
parent
dfa4e9eb96
commit
98b6c25068
1 changed files with 13 additions and 7 deletions
20
gui.lua
20
gui.lua
|
@ -257,13 +257,19 @@ function mail.show_message(name, msgnumber)
|
||||||
local message = messages[msgnumber]
|
local message = messages[msgnumber]
|
||||||
local formspec = [[
|
local formspec = [[
|
||||||
size[8,9]
|
size[8,9]
|
||||||
button[7.25,0;0.75,0.5;back;X]
|
|
||||||
label[0,0;From: %s]
|
box[0,0;7,1.9;#466432]
|
||||||
label[0,0.4;To: %s]
|
|
||||||
label[0,0.8;CC: %s]
|
button[7.25,0.15;0.75,0.5;back;X]
|
||||||
label[4,0;Date: %s]
|
|
||||||
label[0,1.3;Subject: %s]
|
label[0.2,0.1;From: %s]
|
||||||
textarea[0.25,1.8;8,7.8;;;%s]
|
label[0.2,0.5;To: %s]
|
||||||
|
label[0.2,0.9;CC: %s]
|
||||||
|
label[0.2,1.3;Date: %s]
|
||||||
|
|
||||||
|
label[0,2.1;Subject: %s]
|
||||||
|
textarea[0.25,2.6;8,7.0;;;%s]
|
||||||
|
|
||||||
button[0,8.5;2,1;reply;Reply]
|
button[0,8.5;2,1;reply;Reply]
|
||||||
button[2,8.5;2,1;replyall;Reply All]
|
button[2,8.5;2,1;replyall;Reply All]
|
||||||
button[4,8.5;2,1;forward;Forward]
|
button[4,8.5;2,1;forward;Forward]
|
||||||
|
|
Loading…
Add table
Reference in a new issue