How to format the scale function so that it will fill up the entire width of the form?