1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2024-12-27 11:20:26 +01:00

Merge branch 'lua-tube-mono' into 'master'

Make the LUA tube editor textarea and error label use monospaced font

See merge request VanessaE/pipeworks!43
This commit is contained in:
Vanessa Dannenberg 2021-05-06 18:21:59 +00:00
commit 2670fd88a9

View File

@ -666,6 +666,7 @@ local function reset_formspec(meta, code, errmsg)
code = minetest.formspec_escape(code or "")
errmsg = minetest.formspec_escape(tostring(errmsg or ""))
meta:set_string("formspec", "size[12,10]"
.."style_type[label,textarea;font=mono]"
.."background[-0.2,-0.25;12.4,10.75;jeija_luac_background.png]"
.."label[0.1,8.3;"..errmsg.."]"
.."textarea[0.2,0.2;12.2,9.5;code;;"..code.."]"