diff options
author | Pierre-Yves Rollo <dev@pyrollo.com> | 2018-02-02 22:39:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-02 22:39:01 +0100 |
commit | d2fadaea7b8089086abe3e396a3942f765d63035 (patch) | |
tree | c8cbc0dcc2b735f59aa7ea9b253cb482ef53b942 /signs/common.lua | |
parent | 1721f6cef4f139e0a0c5a0c13df356ead079987a (diff) | |
parent | 3483f34fa9ac7c537f2ccf1d52b52f147e736659 (diff) | |
download | display_modpack-d2fadaea7b8089086abe3e396a3942f765d63035.tar.gz display_modpack-d2fadaea7b8089086abe3e396a3942f765d63035.tar.bz2 display_modpack-d2fadaea7b8089086abe3e396a3942f765d63035.zip |
Merge pull request #11 from Thomas--S/formspec
Use default formspec style
Diffstat (limited to 'signs/common.lua')
-rw-r--r-- | signs/common.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/signs/common.lua b/signs/common.lua index 8e899ef..3665ab5 100644 --- a/signs/common.lua +++ b/signs/common.lua @@ -37,6 +37,7 @@ function signs.set_formspec(pos) if maxlines == 1 then formspec = "size[6,3]".. + default.gui_bg .. default.gui_bg_img .. default.gui_slots .. "field[0.5,0.7;5.5,1;display_text;"..F("Text")..";${display_text}]".. "button_exit[2,2;2,1;ok;"..F("Write").."]" else @@ -46,6 +47,7 @@ function signs.set_formspec(pos) end formspec = "size[6,4]".. + default.gui_bg .. default.gui_bg_img .. default.gui_slots .. "textarea[0.5,0.7;5.5,2;display_text;"..F("Text")..""..extralabel..";${display_text}]".. "button_exit[2,3;2,1;ok;"..F("Write").."]" end |