]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.platform/src/org/simantics/browsing/ui/platform/GraphExplorerView.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.browsing.ui.platform / src / org / simantics / browsing / ui / platform / GraphExplorerView.java
index 477d6815e36901a52d832f30fb367d75ed870fc0..12529e64af55bdb16e98e8ba31cafd9822e84ddf 100644 (file)
@@ -261,7 +261,8 @@ public class GraphExplorerView extends GraphExplorerViewBase {
     }\r
 \r
     protected void createAuxiliaryControls(Composite parent, Control explorerControl) {\r
-        parent.setLayout(LayoutUtils.createNoBorderGridLayout(3, false));\r
+       if (explorerControl instanceof Tree)\r
+               parent.setLayout(LayoutUtils.createNoBorderGridLayout(3, false));\r
 \r
         if (!hideComparatorSelector) {\r
             ComparatorSelector comparatorSelector = new ComparatorSelector(explorer, userSelectedComparableFactoryQueryProcessor, parent, SWT.READ_ONLY);\r