void EnterSelection()
{
Stage stage = Stage::GetCurrent();
+ stage.SetBackgroundColor( Color::WHITE );
mTapDetector = TapGestureDetector::New();
mTapDetector.DetectedSignal().Connect( this, &ExampleApp::OnTap );
mFiles.clear();
mItemView = ItemView::New(*this);
- mItemView.SetRelayoutEnabled( false );
stage.Add( mItemView );
mItemView.SetParentOrigin(ParentOrigin::CENTER);
mItemView.SetAnchorPoint(AnchorPoint::CENTER);
{
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 );
}
builder.AddActors( layer );
-
- // Force relayout on layer
- layer.RelayoutRequestTree();
}
GridLayoutPtr mGridLayout;
ItemView mItemView;
- Toolkit::View mView;
+ Toolkit::Control mView;
unsigned int mOrientation;
Toolkit::ToolBar mToolBar;