Hello.
I try to create Tab on TabSet with both "icon" and "canClose:true".
And canClose icon overrides usual icon.
Is it normal behavior or it's a bug?
example ( http://smartclient.com/#closeableTabs )
isc.TabSet.create({
ID: "tabSet",
tabBarPosition: "top",
width: 400,
height: 200,
tabs: [
{title: "Blue", canClose: true, icon: "other/help.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
{title: "Green", icon: "other/help.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
]
});
I need to show both icons - and tab's icon, and close icon.
Thank you
I try to create Tab on TabSet with both "icon" and "canClose:true".
And canClose icon overrides usual icon.
Is it normal behavior or it's a bug?
example ( http://smartclient.com/#closeableTabs )
isc.TabSet.create({
ID: "tabSet",
tabBarPosition: "top",
width: 400,
height: 200,
tabs: [
{title: "Blue", canClose: true, icon: "other/help.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_blue.png"})},
{title: "Green", icon: "other/help.png",
pane: isc.Img.create({autoDraw: false, width: 48, height: 48, src: "pieces/48/pawn_green.png"})}
]
});
I need to show both icons - and tab's icon, and close icon.
Thank you
Comment