aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/TabItem.template
blob: c59576edb6a284fcfe3715c6a1fcdb61a496bc2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<GenericStack Orientation="Vertical" Spacing="0"
		Background="{./Background}"
		MouseEnter="{/caption.Foreground=White}"
		MouseLeave="{/caption.Foreground=Gray}">
	<HorizontalStack Margin="2" Left="{./TabOffset}"
		Name="TabTitle" Background="{./Background}"
		HorizontalAlignment="Left"
		Height="{./TabThickness}"
		Width="Fit">
		<Label Name="caption" Text="{./Caption}" Foreground="Gray"/>
		<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.Images.Icons.exit2.svg"
				 MouseClick="./butCloseTabClick"/>
		</Border>
	</HorizontalStack>
	<Container Name="Content"/>
</GenericStack>