Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Housekeeping] Fix issue in Shapes Transform sample #7042

Merged
merged 1 commit into from May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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