strange behavior in the layout with WrapDirection attribute

View: New views
2 Messages — Rating Filter:   Alert me  

strange behavior in the layout with WrapDirection attribute

by Hilaire Fernandes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have found the following example to not work as expected.
The problem seems to come from the wrapDirection.

In this exemple if you resize the morph, the layout is refresh correctly.

I badly need it to work as expected


submorph := Morph new color: Color red;
        layoutPolicy: TableLayout new;
        listDirection: #leftToRight;
        cellInset: 10;
        vResizing: #shrinkWrap;
        hResizing: #spaceFill;
        wrapDirection: #topToBottom.
10 timesRepeat: [submorph addMorph: Morph new].
(Morph new color: Color yellow; extent: 300@500;
        layoutPolicy: TableLayout new;
        listDirection: #topToBottom;
        layoutInset: 10; cellInset: 10;
        addMorphBack: submorph;
        addMorphBack: (Morph new color: Color orange;
                vResizing: #spaceFill;
                hResizing: #spaceFill)) openInWorld

_______________________________________________
Squeakfoundation mailing list
Squeakfoundation@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeakfoundation

Parent Message unknown Re: strange behavior in the layout with WrapDirection attribute

by erollo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

***Ceci est une réponse automatique. This is an automatic reply.***

Bonjour,

Cette adresse ne sera bientôt plus valide. Contactez moi dorénavant à
rollo@.... Merci.

Hi,

This email will not be available any more. Please send mail to
rollo@.... Thanks.

Emeric Rollo




Received: from sizun.unicaen.fr ([::ffff:10.14.32.62])
  by averell with esmtp; Thu, 14 Dec 2006 12:25:23 +0100
  id 00028102.458134A3.00007155
Received: from localhost (localhost [127.0.0.1])
        by sizun.unicaen.fr (Postfix) with ESMTP id 0FC2F38400B
        for <erollo@...>; Thu, 14 Dec 2006 12:25:22 +0100 (CET)
Received: from castille.unicaen.fr (castille.unicaen.fr [10.14.1.42])
        by sizun.unicaen.fr (Postfix) with SMTP id EB3E8384004
        for <erollo@...>; Thu, 14 Dec 2006 12:25:21 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
        by castille.unicaen.fr (Postfix) with ESMTP id DE4B3F800A
        for <erollo@...>; Thu, 14 Dec 2006 12:25:21 +0100 (CET)
Received: from box2.squeakfoundation.org (box2.squeakfoundation.org [85.10.195.197])
        by castille.unicaen.fr (Postfix) with SMTP id 7C892F8009
        for <erollo@...>; Thu, 14 Dec 2006 12:25:19 +0100 (CET)
Received: (qmail 12814 invoked from network); 14 Dec 2006 11:25:18 +0000
Received: from unknown (HELO box2.squeakfoundation.org) (127.0.0.1)
  by localhost with SMTP; 14 Dec 2006 11:25:18 +0000
Delivered-To: list-squeakfoundation@...
Received: (qmail 12767 invoked from network); 14 Dec 2006 11:25:18 +0000
Received: from unknown (HELO ciao.gmane.org) (80.91.229.2)
        by box2.squeakfoundation.org with SMTP; 14 Dec 2006 11:25:18 +0000
Received: from root by ciao.gmane.org with local (Exim 4.43)
        id 1Guohy-0001FF-T1 for squeakfoundation@...;
        Thu, 14 Dec 2006 12:25:02 +0100
Received: from cddp40.net1.nerim.net ([213.41.145.136])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <squeakfoundation@...>;
        Thu, 14 Dec 2006 12:25:02 +0100
Received: from hilaire2006 by cddp40.net1.nerim.net with local (Gmexim 0.1
        (Debian)) id 1AlnuQ-0007hv-00
        for <squeakfoundation@...>;
        Thu, 14 Dec 2006 12:25:02 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: squeakfoundation@...
From: Hilaire Fernandes <hilaire2006@...>
Date: Thu, 14 Dec 2006 12:19:01 +0100
Lines: 24
Message-ID: <elrbt8$i4v$1@...>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@...
X-Gmane-NNTP-Posting-Host: cddp40.net1.nerim.net
User-Agent: Thunderbird 1.5.0.8 (X11/20061117)
Subject: [Squeakfoundation] strange behavior in the layout with WrapDirection
        attribute
X-BeenThere: squeakfoundation@...
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: "[Defunct] Discussing the Squeak Foundation " <squeakfoundation@...>
List-Id: "\[Defunct\] Discussing the Squeak Foundation "
        <squeakfoundation.lists.squeakfoundation.org>
List-Unsubscribe: <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeakfoundation>,
        <mailto:squeakfoundation-request@...?subject=unsubscribe>
List-Archive: <http://lists.squeakfoundation.org/pipermail/squeakfoundation>
List-Post: <mailto:squeakfoundation@...>
List-Help: <mailto:squeakfoundation-request@...?subject=help>
List-Subscribe: <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeakfoundation>,
        <mailto:squeakfoundation-request@...?subject=subscribe>
Sender: squeakfoundation-bounces@...
Errors-To: squeakfoundation-bounces@...
X-Virus-Scanned: by amavisd-new at unicaen.fr
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unicaen.fr
X-Spam-Tests: BAYES_00=-2.599
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27)
X-Spam-Status: No, hits=-2.6 required=2.6 version=3.0.3


_______________________________________________
Squeakfoundation mailing list
Squeakfoundation@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/squeakfoundation

attachment0 (136 bytes) Download Attachment