[NUI] Fix to add and update TabButton's sub components correctly
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 11 May 2021 05:48:36 +0000 (14:48 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Tue, 11 May 2021 11:03:10 +0000 (20:03 +0900)
commita170a41ec4dc9cc44de63da824148f05a7133971
tree5cc04ff6ee126c5de681debc4b637335b7dbcd72
parent610dacb9f53ba6c9cc1fb9bc259e0418a98e1369
[NUI] Fix to add and update TabButton's sub components correctly

Button.LayoutItems() adds sub components and
Button.UpdateSizeAndSpacing() calculates sub components' sizes and
spacing.

Like Button, TabButton.LayoutItems() is separated into LayoutItems() and
UpdateSizeAndSpacing().

Button.OnUpdate() is not necessary for TabButton.
src/Tizen.NUI.Components/Controls/TabButton.cs