Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2018-06-20 18:27:41 -0400
committerdonald.g.dunne2018-06-20 18:27:41 -0400
commit1ffbc41ae2f9b79b45b69b58edfc14de8a87081a (patch)
treeb0b1d2d252f8ee3f108fa669be1c5b9cff0bfa6e
parentf9ad3690c38069dc5504d45e3b36f153f4d126c7 (diff)
downloadorg.eclipse.osee-1ffbc41ae2f9b79b45b69b58edfc14de8a87081a.tar.gz
org.eclipse.osee-1ffbc41ae2f9b79b45b69b58edfc14de8a87081a.tar.xz
org.eclipse.osee-1ffbc41ae2f9b79b45b69b58edfc14de8a87081a.zip
bug: Fix scrollbar on QuickSearchView
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/search/QuickSearchView.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/search/QuickSearchView.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/search/QuickSearchView.java
index d69106f5fc..88b8119e1b 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/search/QuickSearchView.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/search/QuickSearchView.java
@@ -164,9 +164,10 @@ public class QuickSearchView extends GenericViewPart {
public void createPartControl(Composite parent) {
if (DbConnectionExceptionComposite.dbConnectionIsOk(parent)) {
- ScrolledComposite sc = new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);
+ ScrolledComposite sc = new ScrolledComposite(parent, SWT.V_SCROLL);
sc.setExpandHorizontal(true);
sc.setExpandVertical(true);
+ sc.setMinSize(400, 400);
Composite group = new Composite(sc, SWT.NONE);
sc.setContent(group);
@@ -225,6 +226,8 @@ public class QuickSearchView extends GenericViewPart {
createClearHistoryAction();
setFocusWidget(attrSearchComposite);
+
+ sc.layout();
}
}

Back to the top