Skip to content

Commit

Permalink
Fix issue in Shapes Transform sample (#7042)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed May 12, 2022
1 parent 34e224d commit 6e3aab8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Expand Up @@ -73,8 +73,8 @@
CenterX="{Binding Source={x:Reference SliderCenterX}, Path=Value}"
CenterY="{Binding Source={x:Reference SliderCenterY}, Path=Value}" />
<TranslateTransform
X="{Binding Source={x:Reference TranslateX}, Path=Value}"
Y="{Binding Source={x:Reference TranslateY}, Path=Value}"/>
X="{Binding Source={x:Reference SliderTranslateX}, Path=Value}"
Y="{Binding Source={x:Reference SliderTranslateY}, Path=Value}"/>
</TransformGroup>
</Path.RenderTransform>
</Path>
Expand Down
Expand Up @@ -64,7 +64,8 @@
Stroke="Red"
StrokeThickness="12"
WidthRequest="300"
HeightRequest="20" />
HeightRequest="20"
HorizontalOptions="Start" />

<Label
Text="Polyline"
Expand All @@ -75,7 +76,8 @@
StrokeThickness="20"
StrokeLineJoin="Round"
WidthRequest="250"
HeightRequest="250" />
HeightRequest="250"
HorizontalOptions="Start" />

<Label
Text="Polygon"
Expand All @@ -86,7 +88,8 @@
Stroke="Red"
StrokeThickness="3"
WidthRequest="250"
HeightRequest="250" />
HeightRequest="250"
HorizontalOptions="Start" />

<Label
Text="Path"
Expand All @@ -95,9 +98,9 @@
Data="M 10,100 L 100,100 100,50Z"
Stroke="Black"
Aspect="Uniform"
HorizontalOptions="Start"
WidthRequest="150"
HeightRequest="150" />
HeightRequest="150"
HorizontalOptions="Start" />

<Button
Text="More samples"
Expand Down

0 comments on commit 6e3aab8

Please sign in to comment.