Added position and span arguments to GridLayout