From: ssabah Date: Wed, 9 Feb 2022 16:24:55 +0000 (+0200) Subject: Support Markup Underline attributes X-Git-Tag: dali_2.1.11~10 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=a3c24db302ffb83a32a0b5d8fba0b2c9de2b6634;hp=a3c24db302ffb83a32a0b5d8fba0b2c9de2b6634 Support Markup Underline attributes Underline attributes: - type - color - height - dash-gap - dash-width How to apply it: ========================================================================================= TextLabel textLabel = TextLabel::New(); std::string exampleText = "STARTonly underlineTHEN" "type is solidTHEN" "type is dashedTHEN" "type is doubleTHEN" "color is greenTHEN" "height is 5THEN" "dashGap is 3THEN" "dashWidth is 4THEN" "all attributesEND"; textLabel.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, exampleText); textLabel.SetProperty(Dali::Toolkit::TextLabel::Property::ENABLE_MARKUP, true); textLabel.SetProperty(Dali::Toolkit::TextLabel::Property::MULTI_LINE, true); ========================================================================================= This patch should be preceded by the patch below: https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/271187 Change-Id: I4ca7f11a1b0eeab51e90b48c3d1bbc470ad628e8 ---