summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs b/Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs
index acc41db..1b3960e 100644
--- a/Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs
+++ b/Xamarin.Forms.Platform.WinRT/ButtonRenderer.cs
@@ -155,7 +155,7 @@ namespace Xamarin.Forms.Platform.WinRT
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