[Cuis-dev] Layout and wrapping

Hilaire Fernandes hilaire at drgeo.eu
Sun Oct 17 11:40:03 PDT 2021


Le 17/10/2021 à 17:08, ken.dickey at whidbey.com a écrit :
>
> Where left and right rows are rows of buttons and are themselves 
> contained in a row layout withing the column layout which also 
> contains the (subclass of) a PluggableScrollPane.  Whew! ;^)
>
> The Left row layout has #axisEdgeWeigth of #rowLeft.
> The Right row layout has #axisEdgeWeight of #rowRight.
> The #xSeparation is set to the space between buttons.

Ok, I got your point. Thanks. I will try it.

I used a different approach with a transparent morph to push the buttons 
to the left and the right.

     row addMorphUseAll: (WidgetMorph new
         borderWidth: 0;
         color: Color transparent).

>
> After requiring 'Morphic-Misc1', a Morph's menu allows to get edit 
> panels for LayoutSpec and, if appropriate, a LayoutMorph.  You can set 
> the "push pins" to easily play with layout parameters to see what they 
> do.

I played with the edit panel yesterday on existing layout, I did not 
notice any effect. I should try again.

Hilaire

-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211017/ed7520ea/attachment.htm>


More information about the Cuis-dev mailing list