Setting up layout attributes
WIP