Prevent negative content size due to large padding 75/315075/1
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 24 Jul 2024 11:10:03 +0000 (20:10 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Wed, 24 Jul 2024 11:10:03 +0000 (20:10 +0900)
commitf1ff4d2d32d42c5b4992844be34254551642aeb6
tree692789ad188541e26e4784ccc00040961ad481da
parentab755d711a6aae754754144135d2c11f3c97ddf1
Prevent negative content size due to large padding

Previously, content size was calculated using simple subtraction without checking for negative values.
This causes incorrect rendering results in visual updates.

Change-Id: I23cd6b6d1536e10fa8baf3ed7cef673de4b2abd7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/controls/text-controls/text-label-impl.cpp