aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/ui/DbgEvtTooltip.crow
blob: a3369249eb2a53b8b76d3e2b9c17c1d422b83952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8" ?>
<Border Fit="true" Foreground="${TooltipForeground}" Background="${TooltipBackground}">
	<VerticalStack Fit="true" Margin="${TooltipMargin}" DataSource="{HoverEvent}">
		<Label Text="{type}" Background="{Color}" Foreground="Black" Width="200" TextAlignment="Center" Margin="6"/>
		<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Visible="{IsWidgetEvent}" Background="DimGrey" Margin="2">
			<Label Text="Instance:" Foreground="White" Width="50%" />	
			<Label Text="{InstanceIndex}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>				
		</HorizontalStack>
		<Label Text="{Message}" Foreground="White" Background="Onyx" Width="Stretched" Visible="{HasMessage}" Margin="2" Tooltip="{}"/>			
		<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
			<Label Text="Duration:" Foreground="White" Width="50%" />	
			<Label Text="{DurationMS}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Right"/>				
		</HorizontalStack>
		<HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
			<Label Text="Begin:" Foreground="${TooltipForeground}" Width="50%"/>	
			<Label Text="{BeginMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>				
		</HorizontalStack>
		<HorizontalStack Height="Fit" Width="Stretched" Spacing="2">
			<Label Text="End:" Foreground="${TooltipForeground}" Width="50%"/>	
			<Label Text="{EndMS}" Foreground="${TooltipForeground}" Width="Stretched" TextAlignment="Right"/>				
		</HorizontalStack>
		<VerticalStack Height="Fit" Width="Stretched" IsVisible="{IsLayoutEvent}" >
			<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
				<Label Text="Layout:" Foreground="White" Width="50%" />	
				<Label Text="{layouting}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>				
			</HorizontalStack>
			<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
				<Label Text="Result:" Foreground="White" Width="50%" />	
				<Label Text="{result}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>				
			</HorizontalStack>
			<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
				<Label Text="Old Slot:" Foreground="White" Width="50%" />	
				<Label Text="{OldSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>				
			</HorizontalStack>
			<HorizontalStack Height="Fit" Width="Stretched" Spacing="2" Background="DimGrey" Margin="2">
				<Label Text="New Slot:" Foreground="White" Width="50%" />	
				<Label Text="{NewSlot}" Foreground="White" Background="Onyx" Width="Stretched" TextAlignment="Center"/>				
			</HorizontalStack>
		</VerticalStack>		
		<!--<Label Text="{}" Foreground="${TooltipForeground}"/>-->
	</VerticalStack>
</Border>