summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WP8/ButtonRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WP8/ButtonRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WP8/ButtonRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WP8/ButtonRenderer.cs b/Xamarin.Forms.Platform.WP8/ButtonRenderer.cs
index e44d244..d31d3ba 100644
--- a/Xamarin.Forms.Platform.WP8/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.WP8/ButtonRenderer.cs
@@ -111,7 +111,7 @@ namespace Xamarin.Forms.Platform.WinPhone
bmp.ImageOpened += (sender, args) => {
image.Width = bmp.PixelWidth;
image.Height = bmp.PixelHeight;
- Element.InvalidateMeasureInternal(InvalidationTrigger.RendererReady);
+ Element.InvalidateMeasureNonVirtual(InvalidationTrigger.RendererReady);
};
// No text, just the image