aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/TabItem.template
blob: fd0f310d6e9e5a5a0075287b0d4c1bbf3b7a69f1 (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
<?xml version="1.0"?>
<GenericStack Orientation="Vertical" Spacing="0"
		Background="{./Background}"
		MouseEnter="{/caption.Foreground=White}"
		MouseLeave="{/caption.Foreground=Grey}">
	<HorizontalStack Left="{./TabOffset}"
		Name="TabTitle"
		HorizontalAlignment="Left"
		Height="{./TabHeight}"
		Width="{./TabWidth}">
		<Label Name="caption" Text="{./Caption}" Foreground="Grey" Width="Stretched"/>
		<Label Text="{./ViewIndex}" Foreground="Green"/>
		<Label Text="{./TabOffset}" Foreground="Red"/>
		<Border CornerRadius="5" BorderWidth="1" Foreground="Transparent"  Height="12" Width="12"
					MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
			<Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg"
				 MouseClick="./butCloseTabClick"/>
		</Border>
	</HorizontalStack>
	<Container Margin="20">
		<Container Background="DimGrey" Name="Content"/>
	</Container>
</GenericStack>