set layout width and height into x-container-metrics header