Hi --
I'm trying to derive my own class from HLayout, but I'm losing the grouping frame and its title. What am I doing wrong? Here's my code:
v9.0p_2014-02-09, Safari 6.1.1
I'm trying to derive my own class from HLayout, but I'm losing the grouping frame and its title. What am I doing wrong? Here's my code:
Code:
isc.defineClass("MyLayout","HLayout");
isc.MyLayout.addProperties({
isGroup:true,
groupTitle:"MyLayout Title",
initWidget: function(){
this.Super("initWidget", arguments);
this.addMember(isc.Label.create({contents:"contents"}));
}
});
var vis = isc.MyLayout.create({});
vis.setWidth(700);
vis.show()v9.0p_2014-02-09, Safari 6.1.1