extend custom color property to containers since inheritance works like charm

This commit is contained in:
jean-emmanuel 2016-03-20 18:45:18 +01:00
parent 0727114bb0
commit e46cd0072e
5 changed files with 2 additions and 3 deletions

View file

@ -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,

View file

@ -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,

View file

@ -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,

View file

@ -10,6 +10,7 @@ module.exports.options = {
width:'auto',
height:'auto',
stretch:false,
color:'auto',
css:'',
separator2:'chilren',

View file

@ -11,6 +11,7 @@ module.exports.options = {
width:'auto',
height:'auto',
horizontal:false,
color:'auto',
css:'',
separator2:'children',