diff options
author | Michael Jastram | 2012-04-03 14:36:20 +0000 |
---|---|---|
committer | Michael Jastram | 2012-04-05 10:57:43 +0000 |
commit | 21a6abc64b1a6846583e1adb15a8765941c34e87 (patch) | |
tree | 97d690c28557605cb3b9270b232a437261603e8f | |
parent | 97ded029ba28439f879aa552a70c3455494fbbb1 (diff) | |
download | org.eclipse.rmf-21a6abc64b1a6846583e1adb15a8765941c34e87.tar.gz org.eclipse.rmf-21a6abc64b1a6846583e1adb15a8765941c34e87.tar.xz org.eclipse.rmf-21a6abc64b1a6846583e1adb15a8765941c34e87.zip |
Not the best, but effective fix for #375241: Always show scrollbars
2 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrAgileGridViewer.java b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrAgileGridViewer.java index ba8bbdd0..25fad8f5 100644 --- a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrAgileGridViewer.java +++ b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/agilegrid/ProrAgileGridViewer.java @@ -119,7 +119,7 @@ public class ProrAgileGridViewer extends Viewer { * @param adapterFactory
*/
public ProrAgileGridViewer(Composite composite, AdapterFactory adapterFactory, EditingDomain editingDomain) {
- agileGrid = new ProrAgileGrid(composite, SWTX.AUTO_SCROLL
+ agileGrid = new ProrAgileGrid(composite, SWT.V_SCROLL | SWT.H_SCROLL
| SWTX.FILL_WITH_LASTCOL | SWT.MULTI | SWT.DOUBLE_BUFFERED);
agileGrid.setLayoutAdvisor(new ProrLayoutAdvisor(agileGrid));
// agileGrid.setAgileGridEditor(new ProrAgileGridEditor(agileGrid));
diff --git a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/propertiesview/ProrPropertyViewer.java b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/propertiesview/ProrPropertyViewer.java index 98ae2ed1..000e0fb0 100644 --- a/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/propertiesview/ProrPropertyViewer.java +++ b/org.eclipse.rmf.pror.reqif10.editor/src/org/eclipse/rmf/pror/reqif10/editor/propertiesview/ProrPropertyViewer.java @@ -40,7 +40,7 @@ public class ProrPropertyViewer extends Viewer { public ProrPropertyViewer(Composite parent, EditingDomain editingDomain, AdapterFactory adapterFactory) {
// Create Agile Grid
- agileGrid = new AgileGrid(parent, SWTX.AUTO_SCROLL
+ agileGrid = new AgileGrid(parent, SWT.V_SCROLL | SWT.H_SCROLL
| SWTX.FILL_WITH_DUMMYCOL | SWT.FLAT);
agileGrid.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE));
this.contentProvider = new ProrPropertyContentProvider(editingDomain);
|