To change the style of a border, first select the box and then click the 'Apply Border' icon on the toolbar. Select the desired border style then click 'OK'.