Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Peter Uhnák
On Sat, Feb 14, 2015 at 7:26 PM, Hilaire wrote: > Le 14/02/2015 10:42, Peter Uhnák a écrit : > > Actually it would do the opposite. The content has no fixed height so > > if you don't specify the height it will actually expand the content > > (the layout always uses all available space if not con

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Hilaire
Le 14/02/2015 10:42, Peter Uhnák a écrit : > Actually it would do the opposite. The content has no fixed height so > if you don't specify the height it will actually expand the content > (the layout always uses all available space if not constrained). > But should it not shrink by default? It will

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Sebastian Heidbrink
Hmmm I don't know! It was from the examples :-D Sebastian Am 14.02.2015 um 01:25 schrieb Hilaire: Le 14/02/2015 10:21, Hilaire a écrit : Le 14/02/2015 00:52, Sebastian Heidbrink a écrit : What is wrong with this spec? Why is the checkbox attached to the buttom? I would have expected it to

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Peter Uhnák
However the more worrying thing I've just noticed is that the usernameField is taller than passwordField... that seems like a bug. Peter

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Peter Uhnák
> > > Another remark, why is > height: self inputTextHeight; > needed? > > Should not spec have a default automatic way to set it, deducing from > the row contents? Actually it would do the opposite. The content has no fixed height so if you don't specify the height it will actually exp

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Hilaire
Le 14/02/2015 10:21, Hilaire a écrit : > Le 14/02/2015 00:52, Sebastian Heidbrink a écrit : >> What is wrong with this spec? >> Why is the checkbox attached to the buttom? I would have expected it >> to be directly underneath the password label. >> Is this default behavior and how can I prevent th

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Hilaire
Le 14/02/2015 00:52, Sebastian Heidbrink a écrit : > What is wrong with this spec? > Why is the checkbox attached to the buttom? I would have expected it > to be directly underneath the password label. > Is this default behavior and how can I prevent this? > I don't know spec at all, but it looks

Re: [Pharo-users] spec column/ row layout

2015-02-14 Thread Peter Uhnák
Hi Sebastian, the problem is that the layout tries to always take all the available space. What I usually do is add an empty row at the bottom newRow: [ :row | ] to take all the excessive space. Peter On Sat, Feb 14, 2015 at 12:52 AM, Sebastian Heidbrink wrote: > What is wrong with this spec?

[Pharo-users] spec column/ row layout

2015-02-13 Thread Sebastian Heidbrink
 What is wrong with this spec? Why is the checkbox attached to the buttom? I would have expected it to be directly underneath the password label. Is this default behavior and how can I prevent this? defaultSpec         ^SpecLayout composed   newColumn: [ :col |     col   newRow: