[NUI][API10] Fix the issue that max width of Button Text is incorrect.
authorhuayong.xu <huayong.xu@samsung.com>
Thu, 4 May 2023 07:28:03 +0000 (15:28 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 8 May 2023 00:47:52 +0000 (09:47 +0900)
commita9c553537fffe5f87beb09028a8ecfa772c78f69
treea8073bcd29401f8f684b0c08b715de79617f9d10
parent9dc12782d8fefa9e2ebe8d9f5b8a0cd3a4ca2afd
[NUI][API10] Fix the issue that max width of Button Text is incorrect.

When max width of Text is calculated in Vertical alignment,
Width of Icon should be ignored, and start & end of Text Padding
need be excluded, not top & bottom of Text Padding.
src/Tizen.NUI.Components/Controls/Button.Internal.cs