[NUI] Fix MatchParent child position with LinearLayout Center Alignment
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 14 Sep 2021 11:15:56 +0000 (20:15 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 27 Sep 2021 08:27:23 +0000 (17:27 +0900)
commitce6681c4cab1118e744cbfa5375580d43af7382a
treea8d910d742622b2f67f858f0ac67daa34605401f
parent372cf4e1bb674e9cfdc0baff216e20c967516884
[NUI] Fix MatchParent child position with LinearLayout Center Alignment

Previously, LinearLayout calculated MatchParent children's positions
incorrectly when the LinearAlignment was Center.
Because the MatchParent children's sizes were not added to the sum of
all children's sizes.

Now, the MatchParent children's sizes are added to the sum of all
children's sizes and it leads that MatchParent children's positions are
calculated correctly when the LinearAlignment is Center.
src/Tizen.NUI/src/public/Layouting/LinearLayout.cs