Change the line width by slider.