TextEditor editor = TextEditor::New();
Stage::GetCurrent().Add( editor );
- editor.SetProperty( TextEditor::Property::POINT_SIZE, 10.f );
- DALI_CHECK_FAIL( editor.GetProperty<float>( TextEditor::Property::POINT_SIZE ) - 10.f > Math::MACHINE_EPSILON_1000, "Set/Get Property mismatch" );
+ editor.SetProperty( TextEditor::Property::PIXEL_SIZE, 10.f );
+ DALI_CHECK_FAIL( editor.GetProperty<float>( TextEditor::Property::PIXEL_SIZE ) - 10.f > Math::MACHINE_EPSILON_1000, "Set/Get Property mismatch" );
editor.SetSize( 50.f, 50.f );
editor.SetParentOrigin( ParentOrigin::TOP_LEFT );
DALI_CHECK_FAIL( editor.GetCurrentParentOrigin() != ParentOrigin::TOP_LEFT, "ParentOrigin mismatch" );
TextEditor editor = TextEditor::New();
Stage::GetCurrent().Add( editor );
- editor.SetProperty( TextEditor::Property::POINT_SIZE, 10.f );
+ editor.SetProperty( TextEditor::Property::PIXEL_SIZE, 10.f );
editor.SetSize( 50.f, 50.f );
editor.SetParentOrigin( ParentOrigin::TOP_LEFT );
editor.SetAnchorPoint( AnchorPoint::TOP_LEFT );