widget ids generated with type-specific iterators
demo session updated
This commit is contained in:
parent
b9845a30ca
commit
b07ec26cb1
2 changed files with 35 additions and 13 deletions
|
|
@ -37,8 +37,33 @@
|
|||
})
|
||||
|
||||
}
|
||||
return tab
|
||||
}())
|
||||
|
||||
tabs.push(function(){
|
||||
var tab = {}
|
||||
tab.widgets = new Array()
|
||||
for (i in [0,1,2,3,4,5]) {
|
||||
tab.widgets.push({
|
||||
type:'strip',
|
||||
width:2,
|
||||
widgets: [
|
||||
{
|
||||
label:'Absolute XY',
|
||||
type:"xy",
|
||||
absolute:true,
|
||||
target:target
|
||||
},
|
||||
{
|
||||
label:'Relative XY',
|
||||
type:"xy",
|
||||
target:target
|
||||
}
|
||||
]
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
return tab
|
||||
}())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue