aboutsummaryrefslogtreecommitdiffstatsci
path: root/ui/Window.template
blob: 1e2b3f0f022c25664325db39dcb47e13fae6b181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<Border Name="SizeHandle" Style="winBorder" CornerRadius="{./CornerRadius}" Background="{./Background}" >
	<VerticalStack Spacing="0">
		<Group Margin="2" Height="Fit" Name="MoveHandle" Background="${WindowTitleBarBackground}">
			<Image Margin="1" Width="20" Height="20" HorizontalAlignment="Left" Path="{./Icon}"/>
			<Label Font="serif, 18" Fit="true" Foreground="${WindowTitleBarForeground}" Margin="1" TextAlignment="Center" Text="{./Caption}" 
					VerticalAlignment="Center"/>
			<ListBox Data="{./Commands}" Fit="true" HorizontalAlignment="Right" VerticalAlignment="Top">
				<Template>
					<HorizontalStack Name="ItemsContainer" />
				</Template>
				<ItemTemplate Path="#Crow.WindowButton.template"/>
			</ListBox>
		</Group>
		<Container Name="Content" MinimumSize="0,0" />
	</VerticalStack>
</Border>