Login  Register

Re: Custom layout in Spec

Posted by Benjamin Van Ryseghem (Pharo) on Jun 16, 2014; 1:17pm
URL: https://forum.world.st/Custom-layout-in-Spec-tp4762142p4763334.html



Ben

On 16 Jun 2014, at 15:01, webwarrior <[hidden email]> wrote:

>> Wasn't that hard, beacuse actual layouting *is* done in Morphic.
>
> It is not. That’s exactly why SpecLayoutFrame exists by example.
>
> You can convert Spec layout into morphic layout to use in the case of
>  Morphic but this is decoupled.

Now I see what you mean. But my aim was to make a layout that works here
and now with Morphic.

Ok :)

But one of the goals of Spec is to not be Morphic specific


>> For example:
>
> I do not see your example here :S Is my Mail.app missing to load a
> file or did you miss to insert something ?

It was just a section of code. Maybe your mail client doesn't show html?

Could be :s

It was the following:

^ SpecTableLayout row
     add: #toolbar wrapped: [ :e | e hResizing: #shrinkWrap ];

That sounds strange :)

Ben




View this message in context: Re: Custom layout in Spec
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.