Add the post method to adjust the view width when in xml nothing is set in width parameter