X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-selection-popup-impl.cpp;h=e88adbe7f943bd3010783a2388b123e32d255e8b;hp=8b851f066984baec8d80cf4489f4718c24e217cc;hb=0d07bc303ad28647afa1342319721384cc37d19f;hpb=01a61b981a15ada2b16d8c77999b5a1a016a1d7f 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 8b851f0..e88adbe 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 @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -701,11 +702,11 @@ std::string TextSelectionPopup::GetPressedImage() const if( showIcons ) { option.SetProperty( Toolkit::PushButton::Property::ICON_PADDING, Vector4( 10.0f, 10.0f, 10.0f, 10.0f ) ); - option.SetProperty( Toolkit::PushButton::Property::ICON_ALIGNMENT, "TOP" ); + option.SetProperty( Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT, "BOTTOM" ); // TODO: This is temporarily disabled until the text-selection-popup image API is changed to strings. - //option.SetProperty( Toolkit::PushButton::Property::SELECTED_ICON, button.icon ); - //option.SetProperty( Toolkit::PushButton::Property::UNSELECTED_ICON, button.icon ); + //option.SetProperty( Toolkit::Button::Property::SELECTED_VISUAL, button.icon ); + //option.SetProperty( Toolkit::Button::Property::UNSELECTED_VISUAL, button.icon ); } // 3. Set the normal option image (blank / Transparent).