summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessaE <vanessaezekowitz@gmail.com>2013-04-03 07:06:45 -0700
committerVanessaE <vanessaezekowitz@gmail.com>2013-04-03 07:06:45 -0700
commit7257c5532fbea30fad1fba342565b54fe11865ac (patch)
tree142099ba2d136ddc77dfaf4cff9fbd9181051536
parentd4c2b16562797fcb98c09717343811ed9553f2f3 (diff)
parente271dc0818ee61e59427f29faf3990db88ba497d (diff)
downloadpipeworks-7257c5532fbea30fad1fba342565b54fe11865ac.tar
pipeworks-7257c5532fbea30fad1fba342565b54fe11865ac.tar.gz
pipeworks-7257c5532fbea30fad1fba342565b54fe11865ac.tar.bz2
pipeworks-7257c5532fbea30fad1fba342565b54fe11865ac.tar.xz
pipeworks-7257c5532fbea30fad1fba342565b54fe11865ac.zip
Merge pull request #25 from bas080/master
Formspec of filters now have better aligned layout
-rw-r--r--item_transport.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/item_transport.lua b/item_transport.lua
index b277e2d..3a9943b 100644
--- a/item_transport.lua
+++ b/item_transport.lua
@@ -18,9 +18,9 @@ minetest.register_node("pipeworks:filter", {
on_construct = function(pos)
local meta = minetest.env:get_meta(pos)
meta:set_string("formspec",
- "invsize[9,9;]"..
- "list[current_name;main;0,2;8,2;]"..
- "list[current_player;main;0,5;8,4;]")
+ "invsize[8,6.5;]"..
+ "list[current_name;main;0,0;8,2;]"..
+ "list[current_player;main;0,2.5;8,4;]")
meta:set_string("infotext", "Filter")
local inv = meta:get_inventory()
inv:set_size("main", 8*4)
@@ -113,9 +113,9 @@ minetest.register_node("pipeworks:mese_filter", {
on_construct = function(pos)
local meta = minetest.env:get_meta(pos)
meta:set_string("formspec",
- "invsize[9,9;]"..
- "list[current_name;main;0,2;8,2;]"..
- "list[current_player;main;0,5;8,4;]")
+ "invsize[8,6.5;]"..
+ "list[current_name;main;0,0;8,2;]"..
+ "list[current_player;main;0,2.5;8,4;]")
meta:set_string("infotext", "Mese filter")
local inv = meta:get_inventory()
inv:set_size("main", 8*4)