aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces/testWindow2.goml
blob: 20d5ba629637aafac70d50062afc0fb09f05a569 (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
<?xml version="1.0"?>
<Window Name="window1" Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0,5;0,5;0,5;0,8" 
	Focusable="True"  CornerRadius="20" MinimumSize="100;100" MaximumSize="500;500">
	<Template>
		<Border BorderWidth="1" Foreground="White" CornerRadius="20" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
			<VerticalStack Height="{../../HeightPolicy}" Width="{../../WidthPolicy}">
				<Border BorderWidth="1" Foreground="White" Width="{../../../WidthPolicy}" Height="-1" 
						Background="0,1;0,5;1,0;0,5">
					<HorizontalStack Name="hs" Margin="1" Spacing="1" Width="{../../../../WidthPolicy}" Height="-1" >
						<GraphicObject Width="5"/>
						<Image Margin="1" Width="12" Height="12" Path="{../../../../../Icon}"/>
						<Label Foreground="White" Width="{../../../../../WidthPolicy}" Margin="1" TextAlignment="Center" Text="{../../../../../Title}" />
						<Border CornerRadius="6" BorderWidth="1" Foreground="Transparent"  Height="12" Width="12"
							MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
							<Image Focusable="true" Name="Image" Margin="0" Width="0" Height="0" Path="#Crow.Images.Icons.exit2.svg"
								 MouseClick="../../../../../../butQuitPress"/>
						</Border>
						<GraphicObject Width="5"/>
					</HorizontalStack>
				</Border>
				<Container Name="Content" Height="{../../../../HeightPolicy}" Width="{../../../../WidthPolicy}" Background="0,5;0,5;0,5;0,5"/>
			</VerticalStack>
		</Border>
	</Template>
	<GraphicObject Height="50" Width="50" Background="Green"/>
</Window>