Gadget to GridConfiguration converter