Rüdiger Herrmann schrieb:
> Sebastian,

Rüdiger,

> 
> as said, there is *no* single "1*" literal in our code. We don't use 
> setOrientation(), neither directly nor in a theme.

Then you maybe combine a box layout with the specific orientation and a 
widget with the mentioned "1*" value in one of the dimensions.

> 
> If there are illegal values for height and width, couldn't they be 
> checked when the setter is called. That would make finding errors like 
> this a lot more easier.

The value is OK, but not in this combination. These things can not be 
checked before layouting. And the error comes from the only place which 
can understand the issue: the layouter.

Cheers,

Sebastian


> 
> Cheers
> Rüdiger
> 
> 
> Sebastian Werner wrote:
>> Normally this is an error in the combination of user code itself, not 
>> the code in qooxdoo. Do you use setOrientation() anywhere? You must be 
>> sure that you do not add height=1* to hbox-layouts and width=1* to 
>> vbox-layouts. That is why this error occours.
>>
>> Sebastian
>>
>>
>> Fabian Jakobs schrieb:
>>> Rüdiger Herrmann schrieb:
>>>> Hi all,
>>>>
>>>> I get the following error
>>>>
>>>> ERROR: qx.ui.layout.BoxLayout[772]: Could not layout child [object 
>>>> qx.ui.layout.CanvasLayout] through layout handler: Error - Widget 
>>>> [object qx.ui.layout.CanvasLayout]: having horizontal flex size 
>>>> (width=1*) but parent layout [object qx.ui.layout.BoxLayout] does not 
>>>> support it.
>>>>
>>>> I searched all my code but there is no single "1*".
>>>> Any Ideas?
>>>>   
>>> Hello Rüdiger,
>>>
>>> do you have  any idea in which combination of widgets this error occurs? 
>>> Did your code work in 0.6 or with older revisions of 0.7?
>>>
>>> Best Fabian
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> qooxdoo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to