Tabset rtl problem in TreeFrog skin

I’m using smart client in an Arabic language project that need to be right to left, I’m using tabset as one of the component in the forms, I managed to make the direction of the tabs to be right to left by changing image names, CSS, and in load_skin.js of the TreeFrog skin, but the problem is that the tab container is seems to be shifted a little bit to the right and I don’t know why yet, I’m trying to change in css or in load_skin.js but noting happened, I need quick help.

thanks,

I think we’re going to need some more information to know what’s going on here.
Your best bet would be to boil your application down to a simple standalone test case that we can run on our end to reproduce the problem and either paste the relevant code inline, or send it over to support@smartclient.com

You may want to take a look at the Debugging topic in the reference doc for tips on how to debug and report issues most effectively.

Thanks
Isomorphic Software

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