Le 09/01/2016 13:59, stepharo a écrit :
Hi thierry
Stef,
could you deprecate the use of fractions:offsets: ? It's a nice way of
shooting oneself in the foot.
Yes we should in fact.
Today I was thinking that there may be cases where this api makes sense
but your remark in the bug tracker
made me think and you are right.
Create a LayoutFrame taking all space:
LayoutFrame fractions: (0@0 corner: 1@1)
right?
better LayoutFrame identity :)
Well, maybe the comment could say that the 0@0 corner: 1@1 rectangle is
the identity ;)
That this is the identity is not obvious in fact, unless you consider
what algorithm is used to compute layouts. I tend to think that this
(0@0 corner: 1@1) rectangle is the full area (the max area?)... not the
identity of something.
Why not LayoutFrame fullFrame ?
Thierry