[NUI] Fix text padding issue
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 29 Dec 2023 06:06:24 +0000 (15:06 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 9 Jan 2024 09:23:06 +0000 (18:23 +0900)
commit4515dc8bba95f092b4ea18d4ef3810fbb53898e3
tree8ee642210628096765720221e435e95d4bc073e6
parent9730842cddf308764e43f915de0d2667a90c15c1
[NUI] Fix text padding issue

This patch solves the problem that text with padding does not work in nui layout.

For text components, the control's padding is used to calculatie size in native,
so it should not be set to zero value.

This avoids setting padding to zero when it comes to text layout.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextField.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs