diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2025-07-16 20:08:03 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2025-07-16 20:08:03 +0200 |
| commit | 149205e8ebe5c4ab1ca52ca700ff754aabdf14aa (patch) | |
| tree | e0d567ae9a304ec915e49a25e42af1803e3d83ed /Samples/DockTests/ui | |
| parent | e96fecb4bb512ee47e9df0224e779b24d686bc30 (diff) | |
DebugLogViewer, DockTests
Diffstat (limited to 'Samples/DockTests/ui')
| -rw-r--r-- | Samples/DockTests/ui/main.crow | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Samples/DockTests/ui/main.crow b/Samples/DockTests/ui/main.crow new file mode 100644 index 00000000..85486b39 --- /dev/null +++ b/Samples/DockTests/ui/main.crow @@ -0,0 +1,27 @@ +<?xml version="1.0"?> +<VerticalStack> + <HorizontalStack Height="Fit" Width="Stretched" Background="Yellow"> + <Label Text="Hover:" Width="50" Foreground="Grey"/> + <Label Width="Stretched" Text="{HoverWidget}" Font="mono, 10" Foreground="Black"/> + </HorizontalStack > + <HorizontalStack Height="Fit" Width="Stretched"> + <Label Text="Focus:" Width="50" Foreground="Grey"/> + <Label Width="Stretched" Text="{FocusedWidget}" Font="mono, 10"/> + </HorizontalStack > + <HorizontalStack Height="Fit"> + <Label Text="Active:" Width="50" Foreground="Grey"/> + <Label Width="Stretched" Text="{ActiveWidget}" Font="mono, 10"/> + </HorizontalStack> + <Group Width="200" Height="200" Background="Yellow"> + <Border Top="20" Left="20" Width="70" Height="70" Foreground="Purple" Background="Blue"/> + <Border Top="40" Left="40" Width="70" Height="70" Foreground="Purple" Background="Red"/> + </Group> + <Button Command="{CMDNewDockWin}"/> + <Group Name="dockRoot" Margin="20" Focusable="true" Width="Stretched" Height="Stretched"> + <DockStack CacheEnabled="false" Name="mainDock" Focusable="false" Width="90%" Spacing="10" Background="0.1,0.1,0.1,0.8"/> + <!--<DockWindow Name="win1" Style="SimpleDockWin" Top="10" Left="10" Background="Red" Width="200" Height="200"/> + <DockWindow Name="win2" Style="SimpleDockWin" Top="30" Left="30" Background="Green" Width="200" Height="200"/> + <DockWindow Name="win3" Style="SimpleDockWin" Top="50" Left="50" Background="Pink" Width="200" Height="200"/> + <DockWindow Name="win4" Style="SimpleDockWin" Top="70" Left="70" Background="RoyalBlue" Width="200" Height="200"/> --> + </Group> +</VerticalStack>
\ No newline at end of file |