aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2019-08-03 19:49:15 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2019-08-03 19:49:15 +0200
commite6030fa04a8de3fdae1dc19d081bf5feb3d3d73c (patch)
tree89f392cd974d1109a203ade305da467bd378ee48 /Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow
parentcad504c62d45952b4651603579f34df0d230841e (diff)
sample directory
Diffstat (limited to 'Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow')
-rwxr-xr-xSamples/common/ui/Interfaces/TemplatedContainer/testPopper.crow27
1 files changed, 27 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow b/Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow
new file mode 100755
index 00000000..beac8734
--- /dev/null
+++ b/Samples/common/ui/Interfaces/TemplatedContainer/testPopper.crow
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<VerticalStack>
+ <Border Fit="true" Margin="10">
+ <VerticalStack Width="150" Height="Fit">
+ <RadioButton Caption="Left" IsChecked="true" Checked="change_alignment"/>
+ <RadioButton Caption="Right" Checked="change_alignment"/>
+ <RadioButton Caption="Top" Checked="change_alignment"/>
+ <RadioButton Caption="Bottom" Checked="change_alignment"/>
+ </VerticalStack>
+ </Border>
+ <Widget Height="200"/>
+ <Popper Caption="TestPopper" Width="100" Background="DimGrey" PopDirection="{alignment}">
+ <Border Fit="True" Background="SteelBlue">
+ <Image Fit="true" Path="#Crow.Icons.crow.svg" Margin="10"/>
+ <VerticalStack Fit="true" Margin="10" Background="CornflowerBlue">
+ <CheckBox Name="chk1" Background="Red"/>
+ <CheckBox Name="chk2" IsChecked="true"/>
+ <CheckBox Name="chk3"/>
+ <CheckBox Name="chk4"/>
+ <HorizontalStack Fit="true" Margin="20">
+ <Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/>
+ <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center" Background="SeaGreen"/>
+ </HorizontalStack>
+ </VerticalStack>
+ </Border>
+ </Popper>
+</VerticalStack>