aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/skyhanni/gui/sackhudeditor.xml
blob: c77c695f0c59fcd035bf7b82734e174fec85b784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd">
    <Gui>
        <Column>
            <Scale scale="2">
                <Center>
                    <Row>
                        <Text text="@update"/>
                        <Text text="Sack HUD"/>
                    </Row>
                </Center>
            </Scale>
            <Spacer height="3"/>
            <ScrollPanel width="300" height="200">
                <Array data="@entries">
                    <Row>
                        <Button onClick="@delete">
                            <Text text="§cX"/>
                        </Button>
                        <Button onClick="@moveUp">
                            <Text text="↑"/>
                        </Button>
                        <Button onClick="@moveDown">
                            <Text text="↓"/>
                        </Button>
                        <ItemStack value="@icon"/>
                        <Text text="@name" width="160"/>
                    </Row>
                </Array>
            </ScrollPanel>
            <TextField value="@searchField" width="280"/>
            <ScrollPanel width="300" height="100">
                <Array data="@results">
                    <Button onClick="@addToList">
                        <Row>
                            <ItemStack value="@icon"/>
                            <Text text="@name"/>
                        </Row>
                    </Button>
                </Array>
            </ScrollPanel>
        </Column>
    </Gui>
</Root>