Here’s the code:
<HTML dir=rtl><HEAD>
<SCRIPT>var isomorphicDir="../../isomorphic/";</SCRIPT>
<SCRIPT SRC=../../isomorphic/system/modules/ISC_Core.js></SCRIPT> <SCRIPT SRC=../../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=../../isomorphic/system/modules/ISC_Containers.js></SCRIPT>
<SCRIPT SRC=../../isomorphic/system/modules/ISC_Grids.js></SCRIPT>
<SCRIPT SRC=../../isomorphic/system/modules/ISC_Forms.js></SCRIPT>
<SCRIPT SRC=../../isomorphic/system/modules/ISC_DataBinding.js></SCRIPT><SCRIPT SRC=../../isomorphic/skins/SilverWave/load_skin.js></SCRIPT>
<TITLE>Smart Client Test</TITLE>
</HEAD><BODY BGCOLOR='white' MARGINHEIGHT=0 MARGINWIDTH=0 LEFTMARGIN=0 TOPMARGIN=0>
<SCRIPT>
isc.DetailViewer.create({
ID:"itemViewer",
dataSource:"supplyItem",
width:"100%",
margin:"25",
emptyMessage:"Select an item to view its details"
});
isc.DynamicForm.create({
ID:"editForm",
dataSource:"supplyItem",
useAllDataSourceFields:true,
fields:[
{name:"SKU"},
{name:"description", rowSpan:3, width:200},
{name:"category", editorType:"pickTree", dataSource:"supplyCategory",
emptyMenuMessage:"No Sub Categories", canSelectParentItems:true},
{name:"unitCost", editorType:"spinner", step:0.01},
{name:"inStock"},
{name:"nextShipment", useTextField:true},
{name:"savebtn", editorType:"button", align:"center",
width:100, colSpan:4, title:"Save Item", click:"editForm.saveData()"}
],
width:650,
numCols:4,
colWidths:[100,200,100,200],
margin:25,
cellPadding:5,
autoFocus:false
});
isc.Label.create({
ID:"editorMessage",
autoDraw: false,
width:"100%",
height:"100%",
align:"center",
contents:"Select a record to edit, or a category to insert a new record into"
});
isc.TabSet.create({
ID:"itemDetailTabs",
tabBarAlign: "right",
tabs:[
{title:"View", pane:itemViewer, ID:"viewTab", width:70, icon:"demoApp/icon_view.png"},
{title:"Edit", pane:editForm, ID:"editTab", width:70, icon:"demoApp/icon_edit.png"}
],
});
isc.HLayout.create({
ID:"pageLayout",
width:"100%",
height:"100%",
members:[
isc.SectionStack.create({
ID:"rightSideLayout",
backgroundColor:"white",
visibilityMode:"multiple",
animateSections:true,
sections:[
{title:"Item Details", autoShow:true, items:[itemDetailTabs]}
]
})
]
});
</SCRIPT>
</BODY>
</HTML>
you’ll see that the container tab is shifted to the left, when I inspect the page using firebug I found that the left property in the div called “itemDetailTabs_paneContainer” is set to -18, when I try to find out where the problem is I found this in load_skin.js of treeFrog skin:
isc.Canvas.addProperties({
showCustomScrollbars:true,
scrollbarSize:18
})
I set scrollbarSize to 0 then the problem is gone, but the vertical scroll disappeared, I also want to say that this problem isn’t appeared in any other skins,
thanks