extend custom color property to containers since inheritance works like charm
This commit is contained in:
parent
0727114bb0
commit
e46cd0072e
5 changed files with 2 additions and 3 deletions
|
|
@ -45,7 +45,6 @@ module.exports.create = function(widgetData,container) {
|
|||
id: widgetData.id + '_' + i,
|
||||
label:i,
|
||||
horizontal:false,
|
||||
color:widgetData.color,
|
||||
absolute:true,
|
||||
range:widgetData.range,
|
||||
logScale:widgetData.logScale,
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ module.exports.create = function(widgetData,container) {
|
|||
type:'push',
|
||||
id: widgetData.id + '_' + i,
|
||||
label:i,
|
||||
color:widgetData.color,
|
||||
on:widgetData.on,
|
||||
off:widgetData.off,
|
||||
precision:widgetData.precision,
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ module.exports.create = function(widgetData,container) {
|
|||
type:'toggle',
|
||||
id: widgetData.id + '_' + i,
|
||||
label:i,
|
||||
color:widgetData.color,
|
||||
on:widgetData.on,
|
||||
off:widgetData.off,
|
||||
precision:widgetData.precision,
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ module.exports.options = {
|
|||
width:'auto',
|
||||
height:'auto',
|
||||
stretch:false,
|
||||
color:'auto',
|
||||
css:'',
|
||||
|
||||
separator2:'chilren',
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ module.exports.options = {
|
|||
width:'auto',
|
||||
height:'auto',
|
||||
horizontal:false,
|
||||
color:'auto',
|
||||
css:'',
|
||||
|
||||
separator2:'children',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue