diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-11 15:25:22 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-11 15:25:22 +0200 |
| commit | 8d1522d4cb7ff6db0a9f0c7a61dd75faa887fdd7 (patch) | |
| tree | 148186f17a068129ead511363616c02727d73ab6 /Samples/dockableWindows/ui/dockWin.template | |
| parent | af75526e0ba507bad1b32963437491a4f752330e (diff) | |
debug docking windows
Diffstat (limited to 'Samples/dockableWindows/ui/dockWin.template')
| -rw-r--r-- | Samples/dockableWindows/ui/dockWin.template | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Samples/dockableWindows/ui/dockWin.template b/Samples/dockableWindows/ui/dockWin.template new file mode 100644 index 00000000..c53b260c --- /dev/null +++ b/Samples/dockableWindows/ui/dockWin.template @@ -0,0 +1,24 @@ +<?xml version="1.0"?> +<Border Name="SizeHandle" BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}" StickyMouse="8" StickyMouseEnabled="{./IsFloating}" + Background="{./Background}"> + <VerticalStack Spacing="0"> + <HorizontalStack Height="Fit" IsVisible="{./IsDocked}" Background="Black"> + <Label Text="{./Caption}"/> + <Label Text="{./DockingPosition}"/> + </HorizontalStack> + <HorizontalStack Background="vgradient|0:0.5,0.6,0.5,0.5|1:0.2,0.3,0.3,0.7" + Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}"> + <Widget Width="5"/> + <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/> + <Label Text="{./Caption}"/> + <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./DockingPosition}" /> + <Border CornerRadius="6" BorderWidth="1" Foreground="Transparent" Height="10" Width="10" + MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}"> + <Image Focusable="true" Name="Image" Margin="0" Path="#Crow.Icons.exit2.svg" + MouseClick="./onQuitPress"/> + </Border> + <Widget Width="5"/> + </HorizontalStack> + <Container Name="Content" MinimumSize="50,50"/> + </VerticalStack> +</Border> |