aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/ui/TreeExpandable.template
blob: c69cbf4b50304f81bbcfb7705b12ef2a233f552c (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" MouseDoubleClick="./onClickForExpand">
		<HorizontalStack Spacing="5">
			<Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
				Path="{./Image}"
				Visible="{./IsExpandable}"
				SvgSub="{./IsExpanded}"
				MouseEnter="{Background=LightGray}"
				MouseLeave="{Background=Transparent}"/>
			<Image Style="TreeIcon"
				Path="#Crow.Coding.icons.folder.svg" SvgSub="{./IsExpanded}"/>
			<Label Text="{./Caption}"/>
		</HorizontalStack>
	</Border>
	<Container Name="Content" Visible="false"/>
</VerticalStack>