void LinearLayout::SetCellPadding( LayoutSize size )
{
GetImplementation(*this).SetCellPadding( size );
- GetImplementation(*this).RequestLayout();
}
LayoutSize LinearLayout::GetCellPadding()
{
return GetImplementation(*this).GetCellPadding();
- GetImplementation(*this).RequestLayout();
}
void LinearLayout::SetOrientation( LinearLayout::Orientation orientation )
{
GetImplementation(*this).SetOrientation( orientation );
- GetImplementation(*this).RequestLayout();
}
LinearLayout::Orientation LinearLayout::GetOrientation()
{
return GetImplementation(*this).GetOrientation();
- GetImplementation(*this).RequestLayout();
}
LinearLayout::LinearLayout( Dali::Toolkit::Internal::LinearLayout* object )
void LinearLayout::SetCellPadding( LayoutSize size )
{
- mCellPadding = size;
+ if ( mCellPadding != size )
+ {
+ mCellPadding = size;
+ RequestLayout();
+ }
}
LayoutSize LinearLayout::GetCellPadding()
void LinearLayout::SetOrientation( Dali::Toolkit::LinearLayout::Orientation orientation )
{
- mOrientation = orientation;
+ if ( mOrientation != orientation )
+ {
+ mOrientation = orientation;
+ RequestLayout();
+ }
}
Dali::Toolkit::LinearLayout::Orientation LinearLayout::GetOrientation()