diff options
Diffstat (limited to 'advtrains_luaautomation/active_common.lua')
-rw-r--r-- | advtrains_luaautomation/active_common.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_luaautomation/active_common.lua b/advtrains_luaautomation/active_common.lua index 36cb8cd..9bf8377 100644 --- a/advtrains_luaautomation/active_common.lua +++ b/advtrains_luaautomation/active_common.lua @@ -41,13 +41,13 @@ function ac.getform(pos, meta_p) sel=#envs_asvalues end end - local form = "size[10,10]" + local form = "size["..atlatc.CODE_FORM_SIZE.."]" .."style[code;font=mono]" .."label[0,-0.1;Environment]" .."dropdown[0,0.3;3;env;"..table.concat(envs_asvalues, ",")..";"..sel.."]" .."button[5,0.2;2,1;save;Save]" .."button[7,0.2;3,1;cle;Clear Local Env.]" - .."textarea[0.3,1.5;10,9.5;code;Code;"..minetest.formspec_escape(code).."]" + .."textarea[0.3,1.5;"..atlatc.CODE_FORM_SIZE..";code;Code;"..minetest.formspec_escape(code).."]" .."label[0,9.7;"..err.."]" return form end |