
 
        
       
       
<?xml version="1.0" encoding="utf-8"?>
<Screen name="ScrollPane2Test" descriptors="xworker.libgdx.Screen">
    <Resources>
        <FileResource name="skin" type="skin" file="data\uiskin.json"></FileResource>
        <ResourceGroup name="createPane2" _xmeta_id_="pane2Group">
            <FileResource name="debugTexture" type="texture" file="\data\group-debug.png"></FileResource>
        </ResourceGroup>
    </Resources>
    <Actors>
        <Image name="panelImage" constructor="texture" texture="debugTexture"></Image>
        <ScrollPane name="pane2" constructor="actor_skin" actor="panelImage" skin="skin" scrollingDisabledX="false" scrollingDisabledY="true">
            <EventListeners>
                <InputListener>
                    <actions>
                        <GroovyAction name="touchDown">
                            <code><![CDATA[event.stop();
return true;]]></code>
                        </GroovyAction>
                    </actions>
                </InputListener>
            </EventListeners>
        </ScrollPane>
        <Image name="image1" constructor="texture" texture="debugTexture"></Image>
        <Image name="image2" constructor="texture" texture="debugTexture"></Image>
        <Image name="image3" constructor="texture" texture="debugTexture"></Image>
        <Image name="image4" constructor="texture" texture="debugTexture"></Image>
        <Table name="table" constructor="default" debug="true" debugCell="false" debugTable="false" debugWidget="false" defaults="false">
            <ActorCell actor="image1"></ActorCell>
            <NewRow></NewRow>
            <ActorCell _xmeta_id_="ActorCell1" actor="image2"></ActorCell>
            <NewRow _xmeta_id_="NewRow1"></NewRow>
            <ActorCell _xmeta_id_="ActorCell2" actor="pane2" size="100"></ActorCell>
            <NewRow _xmeta_id_="NewRow2"></NewRow>
            <ActorCell _xmeta_id_="ActorCell3" actor="image3"></ActorCell>
            <NewRow _xmeta_id_="NewRow3"></NewRow>
            <ActorCell _xmeta_id_="ActorCell4" actor="image4"></ActorCell>
        </Table>
    </Actors>
    <Stages>
        <Stage name="stage" constructor="default">
            <ScrollPane name="pane" constructor="actor_skin" actor="table" skin="skin" scrollingDisabledX="true" scrollingDisabledY="false" width="300" height="800"></ScrollPane>
        </Stage>
    </Stages>
    <Code name="init">
        <code><![CDATA[import com.badlogic.gdx.Gdx;
pane.setHeight(Gdx.graphics.getHeight());]]></code>
    </Code>
</Screen>