mof-parts-radihdg
Advanced tools
Comparing version 0.0.1 to 0.0.2
11
index.js
@@ -22,8 +22,15 @@ /** | ||
frame.style('border-width', '1px 1px 1px 10px'); | ||
if (undefined != mofron.theme) { | ||
var clr = mofron.theme.getColor(0); | ||
if (null !== clr) { | ||
frame.style('border-color', clr.getStyle()); | ||
} | ||
} | ||
frame.radius(30); | ||
frame.addLayout(new mofron.layout.Margin('left',30)); | ||
frame.addChild(new mofron.parts.Heading(prm[0], prm[1])); | ||
this.addChild(frame, true, this.getVdom()); | ||
super.initContents(this.getTarget(), prm); | ||
this.marginLeft(30); | ||
} catch (e) { | ||
@@ -30,0 +37,0 @@ console.error(e.stack); |
{ | ||
"name": "mof-parts-radihdg", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "radius heading of mofron UI parts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3375
51