Slide transition and ScrollPane bug

4 messages - 730 views

Hi,

I don't know whether it's a bug or not, but when I use a slide transition, and I have a ScrollPane with an long text inside, the screen is truncated.

You will better understand with the following animation :

http://img508.imageshack.us/my.php?image=bugya7.gif

 

I have two XML files : form1.xml and form2.xml

----------------
=== form1.xml ===

<screen>
    <container style="layout:inlinelayout(false,fill); align: center">
        <text text="Hello World!" />
        <button onAction="next">Next</button>
    </container>
</screen>
----------------

----------------
=== form2.xml ===

<screen style="layout:borderlayout">
    <scrollPane usemarkers="false">
        <list>
            <listitem style="layout:borderlayout;gap:5 0">
                <text>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Mauris vestibulum, eros sit amet vulputate suscipit, nisi ectus accumsan orci, quis malesuada urna justo vel neque. </text>
            </listitem>
        </list>
    </scrollPane>
</screen>
----------------

form2.xml is called in a Frame class, with the onMessage method :
public boolean onMessage(Object identifier, Object[] arguments) {
    if("next".equals(identifier)){
        screen = Kuix.loadScreen("form2.xml", null);
        screen.setCurrent();
    }
    return true;
}

I use kuix 1.0.1 and kutil 1.0.2.

Any idea ?

Right, can you please report this bug into the tracker ?

I reported this bug here.

Thanks