'stage': \
[ \
{ \
- 'type':'TextView', \
+ 'type':'TextLabel', \
'size': [50,50,1], \
'parent-origin': 'CENTER', \
'text':'COULD NOT LOAD JSON FILE' \
{
TextLabel label = TextLabel::New( ShortName( text ) );
label.SetProperty( Dali::Toolkit::Control::Property::STYLE_NAME, "builderlabel" );
- label.SetResizePolicy( FILL_TO_PARENT, WIDTH );
+ label.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::WIDTH );
// Hook up tap detector
mTapDetector.Attach( label );