aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/dockableWindows/ui/GTreeExp.itemp
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-12-07 12:37:23 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-12-07 12:37:23 +0100
commitf4762349a9956bd7ae4fc11f1e165eafb0d2c444 (patch)
treef7148e8510b18e4a929e80466696b7b79fba7c1f /Samples/dockableWindows/ui/GTreeExp.itemp
parenta77e1d7b06d860e040097b72cb9244a45e634e62 (diff)
stickyMouse, dragNdrop + mdiWins debug and teststemp
Diffstat (limited to 'Samples/dockableWindows/ui/GTreeExp.itemp')
-rw-r--r--Samples/dockableWindows/ui/GTreeExp.itemp32
1 files changed, 32 insertions, 0 deletions
diff --git a/Samples/dockableWindows/ui/GTreeExp.itemp b/Samples/dockableWindows/ui/GTreeExp.itemp
new file mode 100644
index 00000000..f2a7c2ba
--- /dev/null
+++ b/Samples/dockableWindows/ui/GTreeExp.itemp
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<Expandable IsExpanded="{²IsExpanded}" MouseDoubleClick="/onClickForExpand">
+ <Template>
+ <VerticalStack>
+ <Border CornerRadius="2" Margin="0" Height="Fit"
+ Foreground="Transparent"
+ MouseEnter="{Foreground=DimGrey}"
+ MouseLeave="{Foreground=Transparent}">
+ <HorizontalStack Spacing="1">
+ <Image Margin="1" Width="9" Height="9" Focusable="true" MouseDown="./onClickForExpand"
+ Path="{./Image}"
+ Visible="{./IsExpandable}"
+ SvgSub="{./IsExpanded}"
+ MouseEnter="{Background=LightGrey}"
+ MouseLeave="{Background=Transparent}"/>
+ <Border Width="16" Height="16" Foreground="Black" Background="DimGrey">
+ <Image Margin="2" Path="{GetIcon}" />
+ </Border>
+ <Widget Width="5" Height="5" Background="Blue" Visible="{IsHover}"/>
+ <Widget Width="5" Height="5" Background="Green" Visible="{Visible}"/>
+ <Label Text="{Name}" Width="Fit"/>
+ <Label Text="{LogicalParent}" Width="Stretched" Foreground="Yellow"/>
+ </HorizontalStack>
+ </Border>
+ <Container Name="Content" Visible="false"/>
+ </VerticalStack>
+ </Template>
+ <HorizontalStack Height="Fit">
+ <Widget Width="8" Height="10"/>
+ <VerticalStack Height="Fit" Name="ItemsContainer"/>
+ </HorizontalStack>
+</Expandable>