From 84562addf783aa8a87df50f336677a111e8d5380 Mon Sep 17 00:00:00 2001 From: Feng Jin Date: Thu, 20 Jul 2017 03:37:00 +0800 Subject: [PATCH] [Tizen] Fix Border property in ImageView does not work issue. Change-Id: Ia56efd254e1f2b86c10d407ab43700bba764b2d6 Signed-off-by: Feng Jin --- src/Tizen.NUI/src/public/BaseComponents/ImageView.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index 9c449d7..27be697 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -169,11 +169,13 @@ namespace Tizen.NUI.BaseComponents /// The url of the image resource to display public ImageView(string url) : this(NDalicPINVOKE.ImageView_New__SWIG_2(url), true) { + _url = url; if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } internal ImageView(string url, Uint16Pair size) : this(NDalicPINVOKE.ImageView_New__SWIG_3(url, Uint16Pair.getCPtr(size)), true) { + _url = url; if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -192,11 +194,13 @@ namespace Tizen.NUI.BaseComponents /// The URL to the image resource to display public void SetImage(string url) { + _url = url; NDalicPINVOKE.ImageView_SetImage__SWIG_1(swigCPtr, url); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } internal void SetImage(string url, Uint16Pair size) { + _url = url; NDalicPINVOKE.ImageView_SetImage__SWIG_2(swigCPtr, url, Uint16Pair.getCPtr(size)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } -- 2.7.4