diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-03 19:49:15 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-03 19:49:15 +0200 |
| commit | e6030fa04a8de3fdae1dc19d081bf5feb3d3d73c (patch) | |
| tree | 89f392cd974d1109a203ade305da467bd378ee48 /Samples/CrowIDE/ui/TreeExpandable.template | |
| parent | cad504c62d45952b4651603579f34df0d230841e (diff) | |
sample directory
Diffstat (limited to 'Samples/CrowIDE/ui/TreeExpandable.template')
| -rw-r--r-- | Samples/CrowIDE/ui/TreeExpandable.template | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Samples/CrowIDE/ui/TreeExpandable.template b/Samples/CrowIDE/ui/TreeExpandable.template new file mode 100644 index 00000000..f945f781 --- /dev/null +++ b/Samples/CrowIDE/ui/TreeExpandable.template @@ -0,0 +1,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> |