>> Hi pavel
>> 
>> where is your code?
>> Because we did a massive refactoring with igor to free layoutFrame users 
>> from the tyranny of fractions:offset:
>> 
>> so you can have a look at some spec in the latest 20 and you will see that 
>> now 
>> we use
>> 
>> 
>>      #layout: . #(0 0 1 1 0 22 0 0) 
> 
> why ??????
> Why using a meaningless array when we could use object ?

because we want to deprecate the use of fractions:offsets: 
So if you do not have fractions:offsets: then you should find a way (for spec) 
to create a layout.
So we introduce a literal format and below the scene we are using a layoutFrame.


> Ben
> 
>> 
>> when it was  
>>      #layout: 
>>                      {#LayoutFrame . #fractions:offsets:.    (0@0 corner: 
>> 1@0).      (0@0 corner: 0@20). 
>> 
>> 
>> Now may be LayoutFrame should not be in morphic so that Spec is independent 
>> from Morphic but for now we prefered to avoid
>> to have reference to LayoutFrame and more important use of 
>> #fractions:offsets:
>> 
>> Esteban will start to work on a UIBuilder because we do not want to have to 
>> code such methods and he will do a pass on Spec.
>> After we will stabilize it.
>> 
>> 
>>> I know, it is a lot of work but we cannot write tools and bindings to
>>> other user interface if the basic UI framework is undocumented and
>>> changing silently.
>>> 
>>> Cheers,
>>> -- Pavel
>>> 
>> 
>> 
> 
> 


Reply via email to