Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfbecker2010-05-20 18:11:01 +0000
committerfbecker2010-05-20 18:11:01 +0000
commitf5b9d39c87b8c58142aa690799ac01b201d332d3 (patch)
tree210569e17f89375417bb5355ffed7c1e0d13b1ee /org.eclipse.mylyn.bugzilla.ui
parenta8222402ea59d8a265c5890d110ff0f71caa05b4 (diff)
downloadorg.eclipse.mylyn.tasks-f5b9d39c87b8c58142aa690799ac01b201d332d3.tar.gz
org.eclipse.mylyn.tasks-f5b9d39c87b8c58142aa690799ac01b201d332d3.tar.xz
org.eclipse.mylyn.tasks-f5b9d39c87b8c58142aa690799ac01b201d332d3.zip
ASSIGNED - bug 305687: Bugzilla query dialog opens with wrong sizing
https://bugs.eclipse.org/bugs/show_bug.cgi?id=305687
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
index 77c2bf81a..287f76bc0 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/search/BugzillaSearchPage.java
@@ -471,7 +471,11 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
createMoreOptionsComposite(moreOptionsComposite);
createSearchGroup(moreOptionsComposite);
- control.getShell().setMinimumSize(new Point(570, 450));
+ if (inSearchContainer()) {
+ control.getShell().setMinimumSize(new Point(610, 450));
+ } else {
+ control.getShell().setMinimumSize(new Point(590, 450));
+ }
}
private void createBasicComposite(Composite basicComposite) {
@@ -1136,7 +1140,11 @@ public class BugzillaSearchPage extends AbstractRepositoryQueryPage implements L
|| hardware.getSelection().length > 0 || os.getSelection().length > 0) {
moreOptionsExpandComposite.setExpanded(true);
Shell shell = getShell();
- shell.setMinimumSize(new Point(570, 660));
+ if (inSearchContainer()) {
+ shell.setMinimumSize(new Point(610, 660));
+ } else {
+ shell.setMinimumSize(new Point(590, 660));
+ }
shell.layout(true);
shell.pack();
shell.layout(true);

Back to the top