aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/sceneItem.crow
blob: 7d2a2e02aaaef9dde9d9211f703cad07e3b1fce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<VerticalStack>
    <Border Style="TreeItemBorder" MouseDoubleClick="./onClickForExpand">
        <HorizontalStack Spacing="5">
            <Image Margin="1" Width="10" Height="10" Focusable="true" MouseDown="./onClickForExpand"
                Path="{./Image}"
                Visible="{./IsExpandable}"
                SvgSub="{./IsExpanded}"
                MouseEnter="{Background=LightGrey}"
                MouseLeave="{Background=Transparent}"/>
            <Label Text="{./Caption}"/>
        </HorizontalStack>
    </Border>
    <Container Name="Content" Visible="false"/>
</VerticalStack>