aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/CrowIDE/ui/DockWindows/winErrors.crow
blob: 82ecc170136ef2829b1088af10b02cbcf27294d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>
<DockWindow DataSource="{CurrentSolution}" Name="winErrors" Caption="Errors"  Width="20%">
	<ListBox Width="Stretched" Data="{CompilerErrors}">
		<ItemTemplate>
			<HorizontalStack Height="Fit" Margin="0" Focusable="true" Spacing="10"
					MouseEnter="{Background=SteelBlue}"
					MouseLeave="{Background=Transparent}">						
				<Image Width="10" Height="10" Path="#Crow.Icons.compiler_error.svg" SvgSub="{IsWarning}"/>
				<Label Text="{Line}" Width="25" TextAlignment="Right"/>
				<Label Text="{ErrorText}" Width="60%"/>
				<Label Text="{FileName}" Width="Fit"/>
			</HorizontalStack>
		</ItemTemplate>
	</ListBox>
</DockWindow>