aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Experimental/buttonSizing.crow
blob: 04139b1b96bccd0d5fde281cf3bb863577e5bcfc (plain)
1
2
3
4
5
6
7
8
9
<VerticalStack Fit="true" Background="Onyx" Margin="0">
	<Button Caption='Ok' Background='MediumSeaGreen' Width="Stretched" MouseClick="{Background=Red}">
		<Template>
			<Border Style="ButtonBorder" Background="{./Background}" Name="Content" CornerRadius="{../CornerRadius}" Width="Stretched">
				<Label Font="{./Font}" Name="caption" Margin="${ButtonCaptionMargin}" Foreground="{./Foreground}" Text="{./Caption}"/>
			</Border>
		</Template>
	</Button>
</VerticalStack>