i am using version 2.5 of dhtmlxwindow and when initialize window it uses its default skin dhx_skyblue.
The problem is that its borders are way to thick for my needs so i want to change the skin to dhx_blue which i used to do a lot in the past but the problem is that it is not working in my current page
here is a part of the code in case you need it:
<script type="text/javascript" src="../../jScript/dhtmlxComponents/codebaseWindow/dhtmlxwindows.js"></script>
<script type="text/javascript" src="../../jScript/dhtmlxComponents/codebaseWindow/dhtmlxcontainer.js"></script>
function doDataWinInit()
{
var dataWin= new dhtmlXWindows();
dataWin.setImagePath(’…/…/jScript/dhtmlxComponents/codebaseWindow/imgs/’);
dataWin.setSkin(‘dhx_blue’); <-- this is not working as expected!
w1 = dataWin.createWindow(“Статус”, window.innerWidth-250, 0, 250, 595);
w1.setText(“Данни”);
w1.denyResize();
w1.keepInViewport(true);
w1.button(“close”).disable();
this is the rest of the function in case you need it ---->
var dataLayout = new dhtmlXLayoutObject("layoutDiv", "2E", "dhx_skyblue");
dataLayout.cells("a").hideHeader();
dataLayout.cells("b").hideHeader();
dataLayout.cells("a").attachObject("proba");
var dataTabs = w1.attachTabbar();
dataTabs.setSkin("dhx_blue"); <--- works correctly!
dataTabs.setImagePath("../../jScript/dhtmlxComponents/codebaseTabs/imgs/");
dataTabs.setOffset("0");
dataTabs.enableAutoSize(true);
dataTabs.addTab("a1","Онлайн","60px");
dataTabs.addTab("q1","Събития","60px");
dataTabs.setContent("a1","layoutDiv");
var infoGrid = dataLayout.cells("b").attachGrid();
infoGrid.setImagePath("../../jScript/dhtmlxComponents/codebaseGrid2/imgs/");
infoGrid.setHeader("Кола,Скорост,Статус");
infoGrid.setInitWidths("*,60,60");
infoGrid.setColAlign("left,left,right");
infoGrid.setSkin("dhx_skyblue");
infoGrid.setColTypes("ro,ro,ro");
infoGrid.init();
}
any idea why the setSkin method does not update fully the appearance of the window???