Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-03-10 18:06:37 -0400
committerspingel2009-03-10 18:06:37 -0400
commit3ad8a758fa260a6b20bf4a59cd193740b3127078 (patch)
tree9343b3a7dbe5fcbffffa89b992e2ec4a6701a691
parentda9105e4cb7aabd61d62f24a017676cd6efcbda8 (diff)
downloadorg.eclipse.mylyn.tasks-3ad8a758fa260a6b20bf4a59cd193740b3127078.tar.gz
org.eclipse.mylyn.tasks-3ad8a758fa260a6b20bf4a59cd193740b3127078.tar.xz
org.eclipse.mylyn.tasks-3ad8a758fa260a6b20bf4a59cd193740b3127078.zip
NEW - bug 267734: RepositorySettingsPage does not (always) to a refresh on expanding parts
https://bugs.eclipse.org/bugs/show_bug.cgi?id=267734
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractTaskRepositoryPage.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractTaskRepositoryPage.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractTaskRepositoryPage.java
index 99e1271c8..650384f63 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractTaskRepositoryPage.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/wizards/AbstractTaskRepositoryPage.java
@@ -233,7 +233,7 @@ public abstract class AbstractTaskRepositoryPage extends WizardPage implements I
/**
* @since 3.1
*/
- protected ExpandableComposite createSection(Composite parentControl, String title) {
+ protected ExpandableComposite createSection(final Composite parentControl, String title) {
final ExpandableComposite section = toolkit.createExpandableComposite(parentControl,
ExpandableComposite.TWISTIE | ExpandableComposite.CLIENT_INDENT | ExpandableComposite.COMPACT);
section.clientVerticalSpacing = 0;
@@ -242,6 +242,7 @@ public abstract class AbstractTaskRepositoryPage extends WizardPage implements I
section.addExpansionListener(new ExpansionAdapter() {
@Override
public void expansionStateChanged(ExpansionEvent e) {
+ parentControl.layout(true);
getControl().getShell().pack();
}
});

Back to the top