Apply category layout.