From ad927256797d98002fe5eb87aec705039001fd64 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 17 Sep 2020 14:07:55 +0800 Subject: [PATCH] examples/bootstrap/dashboard4.bjs examples/bootstrap/dashboard4.js --- examples/bootstrap/dashboard4.bjs | 8 +++++--- examples/bootstrap/dashboard4.js | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/bootstrap/dashboard4.bjs b/examples/bootstrap/dashboard4.bjs index ee84ec0611..38de6589f5 100644 --- a/examples/bootstrap/dashboard4.bjs +++ b/examples/bootstrap/dashboard4.bjs @@ -7,6 +7,7 @@ "modOrder" : "001", "strings" : { "e93b3fa481be3932aa08bd68c3deee70" : "example 1", + "552e21cd4cd9918678e3c1a0df491bc3" : "some text", "e037df87a91c6e2727f0d9eb15c8127f" : "this is the body text" }, "items" : [ @@ -23,15 +24,16 @@ "items" : [ { "String header" : "example 1", - "String weight" : "primary", + "String weight" : "light", "xtype" : "Card", "$ xns" : "Roo.bootstrap", "String html" : "this is the body text", "String style" : "max-width:200px", "items" : [ { - "xtype" : "Container", - "$ xns" : "Roo.bootstrap" + "xtype" : "Element", + "$ xns" : "Roo.bootstrap", + "String html" : "some text" } ] } diff --git a/examples/bootstrap/dashboard4.js b/examples/bootstrap/dashboard4.js index a750c6e0eb..80fadec42a 100644 --- a/examples/bootstrap/dashboard4.js +++ b/examples/bootstrap/dashboard4.js @@ -6,6 +6,7 @@ dashboard4 = new Roo.XComponent({ _strings : { 'e93b3fa481be3932aa08bd68c3deee70' :"example 1", + '552e21cd4cd9918678e3c1a0df491bc3' :"some text", 'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text" }, @@ -38,12 +39,13 @@ dashboard4 = new Roo.XComponent({ header : _this._strings['e93b3fa481be3932aa08bd68c3deee70'] /* example 1 */, html : _this._strings['e037df87a91c6e2727f0d9eb15c8127f'] /* this is the body text */, style : 'max-width:200px', - weight : 'primary', + weight : 'light', xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap', items : [ { - xtype : 'Container', + xtype : 'Element', + html : _this._strings['552e21cd4cd9918678e3c1a0df491bc3'] /* some text */, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' } -- 2.39.2