Question
Strange layout behavior in Gumbo
Hi,
I'm getting a strange layout behavior in Gumbo. This seems to be a regression as I was not having the problem with the code of November 12th. Only after updating on November 21th, the problem arised. Here's a sample application:
------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<FxApplication xmlns=" http://ns.adobe.com/mxml/2009">
<layout>
<VerticalLayout />
</layout>
<VGroup>
<FxButton label="1" click="{t1.text='1'}" />
<TextGraphic id="t1" text="0" />
<FxButton label="2" click="{t1.text='2'}" />
</VGroup>
<HGroup>
<HGroup>
<FxButton label="1" click="{t2.text='1'}" />
<TextGraphic id="t2" text="0" />
<FxButton label="2" click="{t2.text='2'}" />
</HGroup>
<FxButton label="3" />
</HGroup>
</FxApplication>
------------------------------------------------------------------------
Run the application and click on any of the buttons with the labels '1' and '2'. The result is that the layout breaks, as if the group that contains the clicked button looses its size information. I don't know where the problem is occuring (group, layout ...), that' why I didn't know where to file the bug.
Any idea?
Haykel Ben Jemia
Allmas
Web & RIA Development
http://www.allmas-tn.com
I'm getting a strange layout behavior in Gumbo. This seems to be a regression as I was not having the problem with the code of November 12th. Only after updating on November 21th, the problem arised. Here's a sample application:
------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<FxApplication xmlns=" http://ns.adobe.com/mxml/2009">
<layout>
<VerticalLayout />
</layout>
<VGroup>
<FxButton label="1" click="{t1.text='1'}" />
<TextGraphic id="t1" text="0" />
<FxButton label="2" click="{t1.text='2'}" />
</VGroup>
<HGroup>
<HGroup>
<FxButton label="1" click="{t2.text='1'}" />
<TextGraphic id="t2" text="0" />
<FxButton label="2" click="{t2.text='2'}" />
</HGroup>
<FxButton label="3" />
</HGroup>
</FxApplication>
------------------------------------------------------------------------
Run the application and click on any of the buttons with the labels '1' and '2'. The result is that the layout breaks, as if the group that contains the clicked button looses its size information. I don't know where the problem is occuring (group, layout ...), that' why I didn't know where to file the bug.
Any idea?
Haykel Ben Jemia
Allmas
Web & RIA Development
http://www.allmas-tn.com
