
Author: seb Date: Wed Mar 28 15:42:23 2007 New Revision: 1473 Modified: logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackPreferencesDialog.java Log: Better labels Modified: logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackPreferencesDialog.java ============================================================================== --- logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackPreferencesDialog.java (original) +++ logbackPDE/trunk/plugins/ConsolePlugin/src/main/java/ch/qos/logback/eclipse/dialog/LogbackPreferencesDialog.java Wed Mar 28 15:42:23 2007 @@ -72,13 +72,9 @@ } private void createPatternUIParts(Composite container) { - final Label infoLabel = new Label(container, SWT.NONE); - infoLabel.setLayoutData(new GridData(GridData.BEGINNING, GridData.CENTER, false, false, 2, 1)); - infoLabel.setText("Enter a pattern to setup the PatternLayout:"); - final Label patternLabel = new Label(container, SWT.NONE); patternLabel.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false)); - patternLabel.setText("Pattern:"); + patternLabel.setText("Pattern to setup the PatternLayout:"); patternField = new Text(container, SWT.BORDER); Rectangle bounds = patternField.getBounds(); @@ -115,7 +111,7 @@ final Label sizeLabel = new Label(container, SWT.NONE); sizeLabel.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false)); - sizeLabel.setText("Enter font size"); + sizeLabel.setText("Font size"); fontSizeField = new Text(container, SWT.BORDER); fontSizeField.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false)); @@ -124,7 +120,7 @@ private void createListSizeUIParts(Composite container) { final Label sizeLabel = new Label(container, SWT.None); sizeLabel.setLayoutData(new GridData(GridData.END, GridData.CENTER, false, false)); - sizeLabel.setText("Enter the maximum number of logs to display:"); + sizeLabel.setText("Maximum number of logs to display:"); maxSizeField = new Text(container, SWT.BORDER); maxSizeField.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));