[squeak-dev] Disabling layout rules for selected submorphs

Michał Olszewski m.olszewski at nexat.pl
Sun Nov 14 18:57:10 UTC 2021


Oh my god, I completely didn't think about it. As they say, the darkest 
place is under the candle. Thanks, it worked.


W dniu 2021-11-14 o 17:08, Thiede, Christoph pisze:
>
> Hi Michał,
>
>
> it's just a wild guess, so please excuse me if this is not helpful 
> for you - did you already try out Morph >> #disableLayout:?
>
>
> Best,
>
> Christoph
>
> ------------------------------------------------------------------------
> *Von:* Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im 
> Auftrag von Michał Olszewski <m.olszewski at nexat.pl>
> *Gesendet:* Sonntag, 14. November 2021 12:54:20
> *An:* Squeak-dev at lists.squeakfoundation.org
> *Betreff:* [squeak-dev] Disabling layout rules for selected submorphs
> Hello,
>
> I'm working on tree graph visualizer using OMeta. I managed to be able
> to (recursively) construct a tree of nodes out of Morphs. I'd like to
> connect parent and children nodes with LineMorphs. Unfortunalely,
> inserting them inside a subtree building method causes them to adhere to
> nodes-specific layout and they appear beside the nodes.
>
> Is there anyway to disable layout for them, so they simply stay where I
> tell it to stay?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211114/744fc8bb/attachment-0001.html>


More information about the Squeak-dev mailing list