Fix misaligned labels in Miner formspec
This commit is contained in:
@@ -186,13 +186,13 @@ function industrialtest.Miner.getFormspec(self,pos)
|
|||||||
local meta=minetest.get_meta(pos)
|
local meta=minetest.get_meta(pos)
|
||||||
local powerPercent=meta:get_int("industrialtest.powerAmount")/meta:get_int("industrialtest.powerCapacity")*100
|
local powerPercent=meta:get_int("industrialtest.powerAmount")/meta:get_int("industrialtest.powerCapacity")*100
|
||||||
local formspec={
|
local formspec={
|
||||||
"label[0.7,1.2;"..S("Drill").."]",
|
"label[0.7,1.15;"..S("Drill").."]",
|
||||||
"list[context;drill;0.7,1.5;1,1]",
|
"list[context;drill;0.7,1.5;1,1]",
|
||||||
industrialtest.internal.getItemSlotBg(0.7,1.5,1,1),
|
industrialtest.internal.getItemSlotBg(0.7,1.5,1,1),
|
||||||
"label[0.7,2.8;"..S("Pipe").."]",
|
"label[0.7,2.75;"..S("Pipe").."]",
|
||||||
"list[context;src;0.7,3.1;1,1]",
|
"list[context;src;0.7,3.1;1,1]",
|
||||||
industrialtest.internal.getItemSlotBg(0.7,3.1,1,1),
|
industrialtest.internal.getItemSlotBg(0.7,3.1,1,1),
|
||||||
"label[0.7,4.4;"..S("Scanner").."]",
|
"label[0.7,4.35;"..S("Scanner").."]",
|
||||||
"list[context;scanner;0.7,4.7;1,1]",
|
"list[context;scanner;0.7,4.7;1,1]",
|
||||||
industrialtest.internal.getItemSlotBg(0.7,4.7,1,1),
|
industrialtest.internal.getItemSlotBg(0.7,4.7,1,1),
|
||||||
"list[context;dst;2.28,1.9;5,3]",
|
"list[context;dst;2.28,1.9;5,3]",
|
||||||
|
|||||||
Reference in New Issue
Block a user