Property::LABEL visual should be selected manually.
Change-Id: I2baac521b22ebc0ef6979d2578e53bdb53a3d843
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
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