/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Toolkit::ItemView::Property::SCROLL_CONTENT_SIZE);
}
}
+
+ Scrollable::OnChildAdd( child );
}
bool ItemView::OnWheelEvent(const WheelEvent& event)
{
Internal::DepthLayoutPtr depthLayout = Internal::DepthLayout::New();
(*depthLayout).SetLayoutProperties(*layout);
+ (*depthLayout).SetDepthLayoutProperties(*layout);
AddLayout(*depthLayout);
break;
}
{
Internal::GridLayoutPtr gridLayout = Internal::GridLayout::New();
(*gridLayout).SetLayoutProperties(*layout);
+ (*gridLayout).SetGridLayoutProperties(*layout);
AddLayout(*gridLayout);
break;
}
Internal::GridLayoutPtr listLayout = Internal::GridLayout::New();
listLayout->SetNumberOfColumns( 1 );
(*listLayout).SetLayoutProperties(*layout);
+ (*listLayout).SetGridLayoutProperties(*layout);
AddLayout(*listLayout);
break;
}
{
Internal::SpiralLayoutPtr spiralLayout = Internal::SpiralLayout::New();
(*spiralLayout).SetLayoutProperties(*layout);
+ (*spiralLayout).SetSpiralLayoutProperties(*layout);
AddLayout(*spiralLayout);
break;
}