Skip to content

Commit

Permalink
[WorkingWithGestures] fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustam Zaitov committed Mar 25, 2015
1 parent 7b5f220 commit 635d987
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions WorkingWithGestures/WorkingWithGestures/TapInsideFrame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public TapInsideFrame()
Content = new Label
{
Text = "Tap Inside Frame",
Font = Font.SystemFontOfSize(NamedSize.Large)
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label))
}
};

Expand All @@ -35,7 +35,7 @@ public TapInsideFrame()
label = new Label
{
Text = " ",
Font = Font.SystemFontOfSize(NamedSize.Large),
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.CenterAndExpand
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@

</Frame>

<Label x:Name="label"
Text="{Binding NumberOfTapsTapped}"
<Label Text="{Binding NumberOfTapsTapped}"
Font="Large"
HorizontalOptions="Center"
VerticalOptions="CenterAndExpand"
Expand Down
2 changes: 1 addition & 1 deletion WorkingWithGestures/WorkingWithGestures/TapInsideImage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public TapInsideImage()
label = new Label
{
Text = "tap the photo!",
Font = Font.SystemFontOfSize(NamedSize.Large),
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.CenterAndExpand
};
Expand Down

0 comments on commit 635d987

Please sign in to comment.