The problem seems to come from the changes in Rectangle class.
In Pharo 3.0:
0@10 corner: 0@(-20) ==> Rectangle with topleft: 0@10 and bottomRight: 0@-20
Pharo 4.0 introduces a bit of intelligence to put minimal values on topleft:
0@10 corner: 0@(-20) ==> Rectangle with topleft: 0@-20 and bottomRight: 0@10
Hence bottom right negative offset should be set directly for layout frame:
(0 @ 0 corner: 1 @ 1) asLayoutFrame
topLeftOffset: 0 @ 10 ;
bottomRightOffset: 0@ -20
instead of:
LayoutFrame fractions: (0@0 corner: 1@1) offsets: (0@10 corner: 0@(-20))
I committed a version that should fix this problem but I didn't check any other occurrences.
Name: Glamour-Morphic-Renderer-usmanbhatti.323
Author: usmanbhatti
Time: 7 July 2015, 10:53:15.753678 pm
UUID: 98393fcc-26c6-493e-933d-f58195090c58
Ancestors: Glamour-Morphic-Renderer-CyrilFerlicot.322
correctly setting layout frame coordinates to fix the bug regarding overlapping layout with status bar