Formatting API
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / controls / scrollable / item-view / default-item-layout.cpp
index 954e958..97b42a8 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
 namespace Dali
 {
 
 namespace Dali
 {
-
 namespace Toolkit
 {
 namespace Toolkit
 {
-
 namespace DefaultItemLayout
 {
 namespace DefaultItemLayout
 {
-
-ItemLayoutPtr New( Type type )
+ItemLayoutPtr New(Type type)
 {
   ItemLayoutPtr itemLayout;
 
 {
   ItemLayoutPtr itemLayout;
 
-  switch ( type )
+  switch(type)
   {
     case DEPTH:
     {
   {
     case DEPTH:
     {
@@ -53,7 +50,7 @@ ItemLayoutPtr New( Type type )
     case LIST:
     {
       Internal::GridLayoutPtr layout = Internal::GridLayout::New();
     case LIST:
     {
       Internal::GridLayoutPtr layout = Internal::GridLayout::New();
-      layout->SetNumberOfColumns( 1 );
+      layout->SetNumberOfColumns(1);
       itemLayout = layout;
       break;
     }
       itemLayout = layout;
       break;
     }