Commits

hani  committed ae1a5b1

Don't put the whole right area in a scrollpage, and fixed conditionType property name (WF-384)

  • Participants
  • Parent commits bb27e07

Comments (0)

Files changed (2)

File src/designer/com/opensymphony/workflow/designer/WorkflowDesigner.java

 
     // layout
     leftSplitPane = new EmptyBorderSplitPane(JSplitPane.VERTICAL_SPLIT, flowsPanel, detailFramePanel);
-    mainSplitPane = new EmptyBorderSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftSplitPane, new JScrollPane(graphTabs));
+    mainSplitPane = new EmptyBorderSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftSplitPane, graphTabs);
     graphTabs.setVisible(false);
     mainSplitPane.setDividerLocation(Prefs.INSTANCE.getInt(Prefs.MAIN_DIVIDER_LOCATION, 150));
     leftSplitPane.setDividerLocation(Prefs.INSTANCE.getInt(Prefs.DETAIL_DIVIDER_LOCATION, 50));

File src/designer/com/opensymphony/workflow/designer/editor/ResultEditor.java

 		PanelBuilder builderCond = new PanelBuilder(panelCond, layoutCond);
 
 		builderCond.addLabel(ResourceManager.getString("type"), cc.xy(2, 2));	// 2, 25
-		connector.connect(type, "conditionType");
+		connector.connect(type, "conditions[0].type");
 		builderCond.add(type, cc.xy(4, 2));		// 4, 25
 
 		conditionsTable = new JTable(conditionsModel);