X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.document.swt.core%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fswt%2Fcore%2Fwidget%2FGridComposite.java;h=7beb69f255bb09c068025f0fd6bed973994171da;hb=refs%2Fheads%2Fprivate%2Fantin_tyomaa;hp=ce2538c03e9eefb82aa9645c523a7cd6ec36c14b;hpb=342a2b006b88330280060c16c2ab50374468a4c6;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.document.swt.core/src/org/simantics/document/swt/core/widget/GridComposite.java b/bundles/org.simantics.document.swt.core/src/org/simantics/document/swt/core/widget/GridComposite.java index ce2538c03..7beb69f25 100644 --- a/bundles/org.simantics.document.swt.core/src/org/simantics/document/swt/core/widget/GridComposite.java +++ b/bundles/org.simantics.document.swt.core/src/org/simantics/document/swt/core/widget/GridComposite.java @@ -19,7 +19,7 @@ public class GridComposite extends HasWidgetsWidgetManager { protected Composite doCreateControl(SWTDocument document, Composite parent, JSONObject object) { MarginsBean extendedMargins = object.getBeanJSONFieldDefault("extendedMargins", MarginsBean.BINDING, new MarginsBean(0, 0, 0, 0)); - RGB.Integer background = object.getBeanJSONFieldDefault("background", RGB.Integer.BINDING, new RGB.Integer(255,0, 0)); + RGB.Integer background = object.getBeanJSONFieldDefault("background", RGB.Integer.BINDING, new RGB.Integer(255, 255, 255)); Integer numColumns = object.getJSONFieldDefault("numColumns", 1); Composite result = new Composite(parent, SWT.NONE);