Add alignment support in LinearLayout.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / layouting / linear-layout.cpp
index 4a63036..25e88ab 100644 (file)
@@ -59,7 +59,7 @@ void LinearLayout::SetCellPadding( LayoutSize size )
   GetImplementation(*this).SetCellPadding( size );
 }
 
-LayoutSize LinearLayout::GetCellPadding()
+LayoutSize LinearLayout::GetCellPadding() const
 {
   return GetImplementation(*this).GetCellPadding();
 }
@@ -69,11 +69,21 @@ void LinearLayout::SetOrientation( LinearLayout::Orientation orientation )
   GetImplementation(*this).SetOrientation( orientation );
 }
 
-LinearLayout::Orientation LinearLayout::GetOrientation()
+LinearLayout::Orientation LinearLayout::GetOrientation() const
 {
   return GetImplementation(*this).GetOrientation();
 }
 
+void LinearLayout::SetAlignment( unsigned int alignment )
+{
+  GetImplementation(*this).SetAlignment( alignment );
+}
+
+unsigned int LinearLayout::GetAlignment() const
+{
+  return GetImplementation(*this).GetAlignment();
+}
+
 LinearLayout::LinearLayout( Dali::Toolkit::Internal::LinearLayout* object )
 : LayoutGroup( object )
 {