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/DebugLogViewer/ui/winLogNavigation.crow | |
| parent | e96fecb4bb512ee47e9df0224e779b24d686bc30 (diff) | |
DebugLogViewer, DockTests
Diffstat (limited to 'Samples/DebugLogViewer/ui/winLogNavigation.crow')
| -rw-r--r-- | Samples/DebugLogViewer/ui/winLogNavigation.crow | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Samples/DebugLogViewer/ui/winLogNavigation.crow b/Samples/DebugLogViewer/ui/winLogNavigation.crow new file mode 100644 index 00000000..62d71a53 --- /dev/null +++ b/Samples/DebugLogViewer/ui/winLogNavigation.crow @@ -0,0 +1,45 @@ +<?xml version="1.0"?> +<DockWindow Caption="Debug Log Navigation" Width="90%" Height="Fit"> + <VerticalStack Name="LogGraph" > + <ListBox Name="lbAllEvents" Data="{Events}" Height="Fit" > + <ItemTemplate> + <ListItem Margin="0" Height="16" Width="Fit" + Selected="{Background=Yellow}" + Unselected="{Background=Transparent}"> + <DbgEventWidget CacheEnabled="true" Height="10" Width="Fit" Event="{}" Tooltip="#ui.DbgEvtTooltip.crow" TicksPerPixel="3000" VerticalAlignment="Center"/> + </ListItem> + </ItemTemplate> + <Template> + <VerticalStack Width="Stretched" > + <Scroller Name="scroller" > + <HorizontalStack Name="ItemsContainer" Width="Fit" HorizontalAlignment="Left"/> + </Scroller> + <ScrollBar Style="HScrollBar" Name="scrollbar1" Value="{²../scroller.ScrollX}" + LargeIncrement="{../scroller.PageWidth}" SmallIncrement="30" CursorRatio="{../scroller.ChildWidthRatio}" + Maximum="{../scroller.MaxScrollX}" Height="12" /> + </VerticalStack> + </Template> + </ListBox> + <ListBox DataSource="{../lbAllEvents.SelectedItem}" Data="{Events}" Height="Fit" > + <ItemTemplate> + <ListItem Margin="0" Height="16" Width="Fit" + Selected="{Background=Yellow}" + Unselected="{Background=Transparent}"> + <DbgEventWidget CacheEnabled="true" Height="10" Width="Fit" Event="{}" Tooltip="#ui.DbgEvtTooltip.crow" TicksPerPixel="3000" VerticalAlignment="Center"/> + </ListItem> + </ItemTemplate> + <Template> + <VerticalStack Width="Stretched" > + <Scroller Name="scroller" > + <HorizontalStack Name="ItemsContainer" Width="Fit" HorizontalAlignment="Left"/> + </Scroller> + <ScrollBar Style="HScrollBar" Name="scrollbar1" Value="{²../scroller.ScrollX}" + LargeIncrement="{../scroller.PageWidth}" SmallIncrement="30" CursorRatio="{../scroller.ChildWidthRatio}" + Maximum="{../scroller.MaxScrollX}" Height="12" /> + </VerticalStack> + </Template> + </ListBox> + </VerticalStack> +</DockWindow> + + |