aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/Divers/testShape.crow
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/common/ui/Interfaces/Divers/testShape.crow')
-rw-r--r--Samples/common/ui/Interfaces/Divers/testShape.crow9
1 files changed, 7 insertions, 2 deletions
diff --git a/Samples/common/ui/Interfaces/Divers/testShape.crow b/Samples/common/ui/Interfaces/Divers/testShape.crow
index 14af0f21..14df5bfc 100644
--- a/Samples/common/ui/Interfaces/Divers/testShape.crow
+++ b/Samples/common/ui/Interfaces/Divers/testShape.crow
@@ -1,5 +1,10 @@
<?xml version="1.0"?>
<VerticalStack>
- <TextBox Text="{²../shape.Path}"/>
- <Shape Margin="0" Width="400" Height="400" Name="shape" Foreground="Blue" Background="DimGrey" Size="100,100" Path="M 5.5,0.5 L 10.5,10.5 L 0.5,10.5 Z G"/>
+ <TextBox Text="{²../shape.Path}"/>
+ <Container Background="Navy" Height="100" Width="100">
+ <Shape Height="20" Width="10" Name="shape" Foreground="White" Size="11,11" Path="M 5.5,1.5 L 9.5,3.5 L 9.5,9.5 L 1.5,9.5 L 1.5,3.5 Z G" Scaled="true" KeepProportions="false" StrokeWidth="2"/>
+ </Container>
+ <Container Background="Navy" Height="100" Width="100">
+ <Shape Height="Fit" Width="Fit" Foreground="White" Size="11,11" Path="{²../../shape.Path}" Scaled="false" KeepProportions="false" StrokeWidth="2"/>
+ </Container>
</VerticalStack> \ No newline at end of file