When I use toolstrip separators in the following way they work as intended.
But when I change to the (I thought) equivalent code below, my separators vanish.
Am I not doing something that I need to?
Thanks in advance!
Rob
Code:
this.testButton = isc.IButton.create({ parent: this, align: "right", title: "Test", autoFit: true, }); this.testButton1 = isc.IButton.create({ parent: this, align: "right", title: "Test2", autoFit: true, }); this.testStrip = isc.ToolStrip.create({ members: [ this.testButton, "separator", this.testButton1 ] });
Code:
// using the same button defs from above. this.testStrip = isc.ToolStrip.create({ }); this.testStrip.addMembers([ this.testButton, "separator", this.testButton1 ]);
Thanks in advance!
Rob
Comment