Morph layout changes in P4, P5 or P6
Hi, Any idea about what change(s) in P4/P5/P6 could cause this layout mess in DrGeo window? I think the changes originated more likely in P4. Thanks Hilaire -- Dr. Geo http://drgeo.eu
Found, it is the Layout protocol. It seems to behave differently, at least: LayoutFrame fractions: fractionsOrNil offsets: offsetsOrNil does not behave the same Le 17/06/2017 à 18:40, Hilaire a écrit :
I think the changes originated more likely in P4.
-- Dr. Geo http://drgeo.eu
2017-06-17 19:35 GMT+02:00 Hilaire <hilaire@drgeo.eu>:
Found, it is the Layout protocol. It seems to behave differently, at least:
LayoutFrame fractions: fractionsOrNil offsets: offsetsOrNil
does not behave the same
Le 17/06/2017 à 18:40, Hilaire a écrit :
I think the changes originated more likely in P4.
-- Dr. Geo http://drgeo.eu
Do you know how to fix it ? Replacing code like self window addMorph: treeMorph fullFrame: (LayoutFrame fractions: (0@0 corner: 0.2@1) offsets: (0 @ menuBarShiftY corner: 0@statusHeight negated)). with self window addMorph: treeMorph fullFrame: ((0@0 corner: 0.2@1) asLayoutFrame topLeftOffset: (0 @ menuBarShiftY) ;bottomRightOffset: (0@statusHeight negated)). works for me.
Yes, I commit the fixes. Now I have issue with the Drawing area. It is wrapped in an Athens Morphs. I remember it was a temporary hack. Is it still necessary ? Hilaire Le 17/06/2017 à 20:12, Nicolai Hess a écrit :
Do you know how to fix it ?
-- Dr. Geo http://drgeo.eu
participants (2)
-
Hilaire -
Nicolai Hess