X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fbutton-impl.cpp;h=3207f9ba259a85b78b0f86675ac836c71c6bd3f7;hb=6e1032b5996011523338aa4bc5cdbeffcfc71ad5;hp=8c35f257d013adcb0442be75c45b35550179163d;hpb=675300a339110f245ba62117a6da5c5b581c12d1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/buttons/button-impl.cpp b/dali-toolkit/internal/controls/buttons/button-impl.cpp index 8c35f25..3207f9b 100644 --- a/dali-toolkit/internal/controls/buttons/button-impl.cpp +++ b/dali-toolkit/internal/controls/buttons/button-impl.cpp @@ -445,7 +445,8 @@ void Button::CreateVisualsForComponent( Property::Index index, const Property::V index, DevelControl::IsVisualEnabled( *this, index )?"true":"false" ); // enable the visual if needed for current state const bool enabled = ( ( index == VISUAL_INDEX_FOR_STATE[ mButtonState ][ BACKGROUND ] )|| - ( index == VISUAL_INDEX_FOR_STATE[ mButtonState ][ FOREGROUND ] ) ); + ( index == VISUAL_INDEX_FOR_STATE[ mButtonState ][ FOREGROUND ] )|| + ( index == Toolkit::Button::Property::LABEL ) ); DevelControl::RegisterVisual( *this, index, buttonVisual, enabled, visualDepth ); } else