diff options
author | relves | 2007-02-19 18:29:15 +0000 |
---|---|---|
committer | relves | 2007-02-19 18:29:15 +0000 |
commit | f844ed3c0cb29da76c53b381340d54700defdf83 (patch) | |
tree | f4fe271812ab908f80e6703bccf89daf70e8eb00 | |
parent | 51748fd697959b303b96accfa3ec37217508f52a (diff) | |
download | org.eclipse.mylyn.tasks-f844ed3c0cb29da76c53b381340d54700defdf83.tar.gz org.eclipse.mylyn.tasks-f844ed3c0cb29da76c53b381340d54700defdf83.tar.xz org.eclipse.mylyn.tasks-f844ed3c0cb29da76c53b381340d54700defdf83.zip |
NEW - bug 174526: Task editor UI elements with no flat look on 1.0.1.v20070216-0900
https://bugs.eclipse.org/bugs/show_bug.cgi?id=174526
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java | 8 | ||||
-rw-r--r-- | org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/DatePicker.java | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java index f0b25813d..2f360f346 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskPlanningEditor.java @@ -346,12 +346,12 @@ public class TaskPlanningEditor extends TaskFormPage { }); } - toolkit.createLabel(container, "Status:").setForeground(toolkit.getColors().getColor(IFormColors.TITLE));; + toolkit.createLabel(container, "Status:").setForeground(toolkit.getColors().getColor(IFormColors.TITLE)); Composite statusComposite = toolkit.createComposite(container); statusComposite.setLayout(new GridLayout(6, false)); statusComposite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); - priorityCombo = new Combo(statusComposite, SWT.READ_ONLY); + priorityCombo = new Combo(statusComposite, SWT.FLAT); // Populate the combo box with priority levels for (String priorityLevel : TaskListView.PRIORITY_LEVEL_DESCRIPTIONS) { @@ -381,7 +381,7 @@ public class TaskPlanningEditor extends TaskFormPage { }); } - statusCombo = new Combo(statusComposite, SWT.READ_ONLY); + statusCombo = new Combo(statusComposite, SWT.FLAT); statusCombo.add(LABEL_COMPLETE); statusCombo.add(LABEL_INCOMPLETE); @@ -426,7 +426,7 @@ public class TaskPlanningEditor extends TaskFormPage { }); } - getDescButton = toolkit.createButton(statusComposite, "Get Description", SWT.PUSH); + getDescButton = toolkit.createButton(statusComposite, "Get Description", SWT.FLAT | SWT.PUSH); getDescButton.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END)); toolkit.paintBordersFor(container); setButtonStatus(); diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/DatePicker.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/DatePicker.java index 8a04dbb78..609568b3f 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/DatePicker.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/DatePicker.java @@ -89,7 +89,7 @@ public class DatePicker extends Composite { gridLayout.makeColumnsEqualWidth = false; this.setLayout(gridLayout); - dateText = new Text(this, SWT.NONE); + dateText = new Text(this, SWT.FLAT); GridData dateTextGridData = new org.eclipse.swt.layout.GridData(); dateTextGridData.widthHint = 110; @@ -133,7 +133,7 @@ public class DatePicker extends Composite { } }); - pickButton = new Button(this, SWT.ARROW | SWT.DOWN); + pickButton = new Button(this, SWT.FLAT | SWT.ARROW | SWT.DOWN); GridData pickButtonGridData = new org.eclipse.swt.layout.GridData(); pickButtonGridData.horizontalAlignment = org.eclipse.swt.layout.GridData.END; pickButton.setLayoutData(pickButtonGridData); |