From: Agnelo Vaz Date: Mon, 5 Dec 2016 18:54:24 +0000 (+0000) Subject: Text Selection popup to use Enums not string for Text X-Git-Tag: dali_1.2.19~12 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=ba4ec954ec51ca02b9f7e7128ce2536581537680 Text Selection popup to use Enums not string for Text Change-Id: I5053551ce95087cb212a9610f72eee8aab817c73 --- diff --git a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp index e82d82d..c91f71d 100644 --- a/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp +++ b/dali-toolkit/internal/controls/text-controls/text-selection-popup-impl.cpp @@ -34,6 +34,8 @@ #include #include #include +#include +#include namespace Dali { @@ -709,7 +711,7 @@ std::string TextSelectionPopup::GetPressedImage() const // Label properties. Property::Map buttonLabelProperties; - buttonLabelProperties.Insert( "text", button.caption ); + buttonLabelProperties.Insert( Toolkit::TextVisual::Property::TEXT, button.caption ); option.SetProperty( Toolkit::Button::Property::LABEL, buttonLabelProperties ); } if( showIcons )