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