aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/ui/showcase.crow
blob: 20353e3321121c8883165a11550ca0aa6f989544 (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
<?xml version="1.0"?>
<HorizontalStack Background="Onyx" Margin="5">
	<DirectoryView Name="dv" CurrentDirectory="Interfaces" Width="25%" SelectedItemChanged="Dv_SelectedItemChanged"/>
	<Splitter Width="6"/>
	<VerticalStack>
		<Container Name="CrowContainer" Height="60%" Background="SmokyBlack"/>
		<Splitter/>
		<HorizontalStack>
			<Scroller Name="scroller1" Background="White"
					Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
					ValueChanged="./_scroller_ValueChanged">
				<TextBox VerticalAlignment="Top" TextChanged="Tb_TextChanged"
					Text="{source}" Multiline="true" TextAlignment="TopLeft"
					Font="Courriernew 10"/>
			</Scroller>
			<ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
				LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30"
				CursorSize="{../scroller1.ChildHeightRatio}"
				Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
				Width="14" />
		</HorizontalStack>
		<Label Visible="{ShowError}" Text="{ErrorMessage}" Background="Red" Foreground="White" Width="Stretched" Margin="2"
			Multiline="true"/>
	</VerticalStack>
</HorizontalStack>