aboutsummaryrefslogtreecommitdiffstatsci
path: root/CrowIDE/ui/GTreeExpITemp.crow
blob: 32eeb43b871ea843ca776a1adf0e8c7ef9661354 (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
<?xml version="1.0"?>
<Expandable Caption="{Name}" >
	<Template>
		<VerticalStack>
			<HorizontalStack Spacing="1" Height="Fit" MouseDoubleClick="./onClickForExpand" Background="{./Background}">
				<Container Margin="1" Width="10" Height="10" Focusable="true" MouseClick="./onClickForExpand"
					MouseEnter="{Background=LightGray}"
					MouseLeave="{Background=Transparent}">
					<Image
						Path="{./Image}"
						Visible="{./IsExpandable}"
						SvgSub="{./IsExpanded}"/>
				</Container>
				<Image Margin="2" Width="14" Height="14"
					Path="#Crow.Icons.folder.svg"/>
				<Label Text="{./Caption}"
						MouseEnter="{Background=hgradient|0:BlueCrayola|1:Transparent}"
						MouseLeave="{Background=Transparent}"/>
			</HorizontalStack>
			<Container Name="Content" Visible="false"/>
		</VerticalStack>
	</Template>
	<HorizontalStack Height="Fit">
		<GraphicObject Width="12" Height="10"/>
		<TreeView Name="List" Height="Fit"
			Template="#Crow.Templates.treeList.crow" />
	</HorizontalStack>
</Expandable>