[BUG #8514] converted getLayout/setLayout to a property