fix settings dialog layout