[jbosstools-commits] JBoss Tools SVN: r43470 - trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Sep 6 09:46:18 EDT 2012
Author: dmaliarevich
Date: 2012-09-06 09:46:17 -0400 (Thu, 06 Sep 2012)
New Revision: 43470
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java
Log:
https://issues.jboss.org/browse/JBIDE-12435 - Selection Bar is drown in black background color - fixed.
Modified: trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java 2012-09-06 13:43:43 UTC (rev 43469)
+++ trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/selection/bar/SelectionBar.java 2012-09-06 13:46:17 UTC (rev 43470)
@@ -206,9 +206,12 @@
closeItemComposite.setLayoutData(closeBarData);
/*
- * Create tool bar that will contain nodes from the source editor
+ * Create tool bar that will contain nodes from the source editor.
+ *
+ * https://issues.jboss.org/browse/JBIDE-12435 --
+ * Do not use SWT.NO_BACKGROUND style, it leads to a black color.
*/
- toolbar = new ToolBar(realBar, SWT.HORIZONTAL | SWT.FLAT | SWT.NO_BACKGROUND);
+ toolbar = new ToolBar(realBar, SWT.HORIZONTAL | SWT.FLAT);
toolbarData = new FormData();
toolbarData.left = new FormAttachment(0);
toolbarData.right = new FormAttachment(closeItemComposite, 0, SWT.LEFT);
More information about the jbosstools-commits
mailing list