summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cc82bd9)
Change-Id: I9434dea82975db3920716bd46a2eb5b7a89236d0
void TextField::OnInitialize()
{
void TextField::OnInitialize()
{
mController = Text::Controller::New( *this );
mDecorator = Text::Decorator::New( *this, *mController );
mController = Text::Controller::New( *this );
mDecorator = Text::Decorator::New( *this, *mController );
Vector2 stageSize = Dali::Stage::GetCurrent().GetSize();
mDecorator->SetBoundingBox( Rect<int>( 0.0f, 0.0f, stageSize.width, stageSize.height ) );
}
Vector2 stageSize = Dali::Stage::GetCurrent().GetSize();
mDecorator->SetBoundingBox( Rect<int>( 0.0f, 0.0f, stageSize.width, stageSize.height ) );
}
+
+ // Fill-parent area by default
+ self.SetResizePolicy( FILL_TO_PARENT, WIDTH );
+ self.SetResizePolicy( FILL_TO_PARENT, HEIGHT );
}
void TextField::OnStyleChange( Toolkit::StyleManager styleManager, StyleChange change )
}
void TextField::OnStyleChange( Toolkit::StyleManager styleManager, StyleChange change )