layout_expand function

Set Expansion for the Layout