From: minho.sun Date: Tue, 1 Aug 2017 01:40:28 +0000 (+0900) Subject: [Tizen] Fix Border property in ImageView does not work issue. X-Git-Tag: accepted/tizen/unified/20170809.015329~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc9642426dc0fbd53fac528d05f6273841799ae9;p=platform%2Fcore%2Fcsapi%2Fnui.git [Tizen] Fix Border property in ImageView does not work issue. This reverts commit 106f1b4ccfc89fefa1d606238e47509514b988aa. Change-Id: Iaa612fd95ab72c6dad534684b81a8427f5cea139 --- diff --git a/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/Tizen.NUI/src/public/BaseComponents/ImageView.cs index ef1f2c3..5182c4f 100755 --- a/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/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(); }