add 'setLayout' and 'getLayout' to modify content layout