[NUI] Prevent Height and Width specs being overwritten (#1142)
authoragnelovaz <agnelo.vaz@samsung.com>
Mon, 25 Nov 2019 01:11:54 +0000 (01:11 +0000)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 25 Nov 2019 01:11:54 +0000 (10:11 +0900)
commit82c061fd8cd0cca6575b8bdef690519c8cf04571
treea460ad97a506382259c83e8990da6aff85c12e5c
parent22f19a613580e3b88fb1ff12118fbdee71d29d0c
[NUI] Prevent Height and Width specs being overwritten (#1142)

When setting the WidthSpecification or HeightSpecification with an exact value
the Size.Width or Size.Height is set but this in turns triggers a callback which
sets Size(width,height) but uses the stored height or width value which may not be
the set Width or Height Specification hence sets them to 0;

Change-Id: I80a4e1166f35e4c09c116916262ac965de54b048
src/Tizen.NUI/src/public/BaseComponents/View.cs