[NUI] Add RelativeLineHeight in TextLabel, TextEditor
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 20 Apr 2022 04:50:24 +0000 (13:50 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 26 Apr 2022 04:41:13 +0000 (13:41 +0900)
commit1daac2032f1ee6eb1df5530625f4eec075dc9cc3
tree91c9847d023036ee5f6af6407a9e32985d887bac
parent6ef9d82c36299477a126248088c5d0e399775768
[NUI] Add RelativeLineHeight in TextLabel, TextEditor

RelativeLineHeight is a factor that will be multiplied by text height.

// line height will be 2.0 times the text height
label.RelativeLineHeight = 2.0f;

// if the value is less than 1.0f, the lines could to be overlapped
// line height will be 0.5 times the text height
label.RelativeLineHeight = 0.5f;

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs
src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/Style/TextEditorStyle.cs
src/Tizen.NUI/src/public/BaseComponents/Style/TextLabelStyle.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs
src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs
src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs