Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-18 Thread Steven R. Baker
You're right. Reformatted as one line it looks *way* more obvious. Thanks! -Steven On 18/10/17 10:45, Peter Uhnák wrote: > Try to think about is going on in the code, because then it is obvious > (I hope). > For example you do the following: > > column add: #sideBar; add:#listView. > > why do y

Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-18 Thread Peter Uhnák
Try to think about is going on in the code, because then it is obvious (I hope). For example you do the following: column add: #sideBar; add:#listView. why do you think that adding items to a column would create columns? In Spec, one add:s rows to column, and columns to row. If people are going

Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-17 Thread Steven R. Baker
Oh! I remember fighting with this last week too. Am I the only who who struggled with that? If not, perhaps we could call #add: #addRow: ? -Steven On 17/10/17 18:00, Peter Uhnák wrote: > Because it is the other way around: in the block ([ :col | ... ]) you > are describing the content of the c

Re: [Pharo-users] SpecColumnLayout not behaving as expected

2017-10-17 Thread Peter Uhnák
Because it is the other way around: in the block ([ :col | ... ]) you are describing the content of the column. So what you are actually doing is you create a Column (SpecColumnLayout), inside which you create another column (newColumn), and to that column you add two rows (add:, add:). On Tue, O