aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ComboBox.template
blob: 314613b23109fd5c184949bbe8bdda4dcd5982d3 (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"?>
<Popper Name="popper" PopDirection="Bottom">
	<Template>
		<Border CornerRadius="0" Foreground="LightGray">
			<HorizontalStack Margin="0" Spacing="1">
				<TextBox MinimumSize="80,10" Margin="1" Foreground="Black" Background="White"
					Text="{../../../../SelectedItem}"/>
				<Button Width="14" Height="14" Focusable="false"
					Template="#Crow.Templates.ArrowButTemplate.crow">
					<Image Margin="0"  Path="#Crow.Images.Icons.updown.svg" SvgSub="down"/>
				</Button>
			</HorizontalStack>
		</Border>
	</Template>
	<Border Background="DimGray" BorderWidth="1" Margin="1"
		MinimumSize="{../../MinimumPopupSize}" Fit="true">
		<Scroller Name="scroller1" Margin="2" VerticalScrolling="true"
			MaximumSize="0,200"
			HorizontalAlignment="Left">
			<VerticalStack
				Height="Fit" Name="ItemsContainer" Margin="0"
				HorizontalAlignment="Left"
				VerticalAlignment="Top"/>
		</Scroller>
	</Border>
</Popper>