Customizing the StackHeader skin

Hello,

I wonder why the StackSection header icon hasn’t switched to the DISABLED icon when I set a section disabled property to true.

The example code is as follows:

isc.SectionStack.create({
	visibilityMode:"multiple", 
	animateSections:true,
	sections:[
		{title:"Holdings", autoShow:true, items:[control_0]},
		{title:"Help", autoShow:true, items:[control_1], disabled:true,expanded:false}
	]
})

I have had one question while customizing the StackHeader skin. I found there were 4 groups of images in skin/SmartClient/StackHeader: opener, closed, DISABLED_opener, DISABLED_closed. But, it seemed they have no differences. Do I only implement the opener images(start,stretch and end)?

That’s a bug. Thanks for letting us know. We’ve fixed this for the next release (5.7) which will be out shortly. In the meantime, you can work around it by explicitly calling setDisabled() on the section you need disabled.

Also, this issue affects only the SmartClient skin, so if you don’t want to apply the workaround above, you can switch skins to see how it would work normally.