Author: yzhishko
Date: 2010-04-22 04:05:53 -0400 (Thu, 22 Apr 2010)
New Revision: 21602
Modified:
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5744 - patch is applied
Modified:
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
---
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2010-04-22
07:58:31 UTC (rev 21601)
+++
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2010-04-22
08:05:53 UTC (rev 21602)
@@ -442,7 +442,14 @@
/*
* Container composite for editor part
*/
- cmpEdTl = new Composite(parent, SWT.NONE);
+ /*
+ * Fix for
https://jira.jboss.org/jira/browse/JBIDE-5744
+ * Where is a problem with composite parent redrawing in a case
+ * cmpEdTl = new Composite (parent, SWT.NONE)
+ * P. S.: Reproducible under Win x64 on Eclipse 32
+ * see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=302950
+ */
+ cmpEdTl = parent;
GridLayout layoutEdTl = new GridLayout(2, false);
layoutEdTl.verticalSpacing = 0;
layoutEdTl.marginHeight = 0;