[Cuis-dev] Layout changes
Juan Vuletich
juan at jvuletich.org
Wed Sep 29 08:39:21 PDT 2021
Hi Hilaire,
I need more help from you. I need details on:
- How to get the relevant, updated version of DrGeo.
- How to create the window
- If possible, a screen capture of how it should look, and with what is
the latest Cuis update #, and VectorGraphics.pck.st version number, for
that correctly working environment.
Thanks!
On 9/29/2021 12:20 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Hi,
>
> I saw recent changes in Layout. After updating image, now, DrGeo
> windows looks wrongly like this:
>
> I use a transparent morph as an elastic morph. Maybe it does not work
> anymore with the recent changes?
>
> Installation code is:
>
> installTools
> " Install menu, toolbar, tree, wheels, statusbar "
> | row col |
> row _ LayoutMorph newRow.
> row addMorphUseAll: self window drawable.
> col _ LayoutMorph newColumn name: #wheelsYZ.
> self isWheelZ ifTrue: [
> col addMorph: self zoomWheel layoutSpec: (LayoutSpec
> fixedExtent: DrGeoSystem wheelWidth @ DrGeoSystem
> wheelHeight)].
> col addMorphUseAll: self transparentMorph.
> self isWheelY ifTrue: [
> col addMorph: self verticalWheel layoutSpec: (LayoutSpec
> fixedExtent: DrGeoSystem wheelWidth @ DrGeoSystem
> wheelHeight)].
> row addMorph: col layoutSpec: (LayoutSpec fixedWidth: DrGeoSystem
> wheelWidth proportionalHeight: 1).
> self window addMorph: row.
> row _ LayoutMorph newRow axisEdgeWeight: #rowRight; name: #wheelX;
> yourself.
> self isWheelX ifTrue: [
> row addMorph:self horizontalWheel layoutSpec: (LayoutSpec
> fixedExtent: DrGeoSystem wheelHeight @ DrGeoSystem
> wheelWidth)].
> row addMorph: self transparentMorph layoutSpec: ((LayoutSpec
> fixedExtent: DrGeoSystem wheelWidth asPoint)
> offAxisEdgeWeight: #columnRight).
> self window addMorph: row layoutSpec: (LayoutSpec fixedHeight:
> DrGeoSystem wheelWidth)
>
>
>
> --
> GNU Dr. Geo
> http://drgeo.eu
> http://blog.drgeo.eu
--
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210929/1d462896/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 32687 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210929/1d462896/attachment-0001.png>
More information about the Cuis-dev
mailing list