Ui XML ScrollContent - BLKTower/TestWiki GitHub Wiki

Table of Contents

Ui XML Reference\ScrollContent

The scrollable content frame. Automatically created by creating a NewHScroll(), NewVScroll(), or NewScroll() in lua. When creating the scroll elements in xml, the explicit declaration of this frame is only necessary to set the padding and spacing for the child frames.

Example Usage

<VScroll height="200" width="120" backgroundImage="frame01_blue">
    <ScrollContent spacing="10" padding="10">
        <Frame height="100" width="100" backgroundImage="cart" />
        <Frame height="100" width="100" backgroundImage="cart" />
        <Frame height="100" width="100" backgroundImage="cart" />
        <Frame height="100" width="100" backgroundImage="cart" />
    </ScrollContent>
</VScroll>

This XML produces the following UI: image

Related Trigger Function(s):

Related UI XML Properties:

The scrollable content frame.

⚠️ **GitHub.com Fallback** ⚠️