Spec
Spec copied to clipboard
Question about GridLayout
Hi esteban
defaultLayout
^ SpGridLayout new
add: 'Name:' at: 1@1;
add: #nameText at: 2@1;
add: 'Password:' at: 1@2;
add: #passwordText at: 2@2;
add: #acceptButton at: 1@3;
add: #cancelButton at: 2@3 span: 2@3;
add: 'test label' at: 1@4;
yourself
produces correctly I think

Now if I change
defaultLayout
^ SpGridLayout new
add: 'Name:' at: 1@1;
add: #nameText at: 2@1;
add: 'Password:' at: 1@2;
add: #passwordText at: 2@2;
add: #acceptButton at: 1@3;
add: #cancelButton at: 2@3 span: 2@3;
add: 'test label' at: 1@6;
yourself
I do not get why the vertical span is not respected. @estebanlm?