Apply style to form pane