jhickman / gxt-uibinder

Automatically exported from code.google.com/p/gxt-uibinder
0 stars 0 forks source link

nested <gxt:layoutdata> elements cause incorrect "add" ordering #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using a LayoutContainer and nested "layoutdata" child elements, it causes 
the the add method to be called in an incorrect order if some have layoutdata, 
but others don't.

To recreate:

<gxt:LayoutContainer layout="FlowLayout">
    <button:Button text="button 1" />

    <gxt:layoutdata type="FlowData" margins="5:>
        <button:Button text="button 2" />
    </gxt:layoutdata>
</gxt:LayoutContainer>

Button 2 ends up appearing first.  This is due to consuming the layoutdata 
child elements first.

Original issue reported on code.google.com by jus...@jhickman.com on 15 Mar 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Fixed. Will be available in version 0.8

Original comment by jus...@jhickman.com on 15 Mar 2011 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by jus...@jhickman.com on 16 Mar 2011 at 3:44