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