Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

isGroup lost in class derived from HLayout

$
0
0
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:

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

Viewing all articles
Browse latest Browse all 4756

Trending Articles