Upgrading from 3.0 to 3.5 ruins layout of forms

When upgrading dhtmlx from 3.0 to 3.5 we seem to have layout problems on most of our forms. Things are not aligned up any longer and in some cases controls are jumpled around, textboxes are not the same length even on the same page, even though they are in the same block. Is there a global setting that can be done somewhere to bring all display elements back to 3.0, since it will be a pretty monumental task to go through all forms?

The password box is not the same size as user and is unaffected by the font size, the labels are jumbled.


This was how the form looked like in 3.0

XML:

<?xml version="1.0" encoding="UTF-8"?>
<items>
  <item type="block">
    <item type="settings" labelWidth="60" labelAlign="left" inputWidth="250" position="label-left" />
    <item type="input" name="UserID" label="User ID:" labelAlign="left" validate="NotEmpty" position="label-left" />
    <item type="password" name="Password" label="Password:" labelAlign="left" position="label-left" />
  </item>
  <item type="block">
    <item type="label" labelWidth="60" />
    <item type="newcolumn" />
    <item type="checkbox" name="UseDomainAuthenticationBit" value="False" label="Domain Authentication" labelAlign="right" position="absolute" inputTop="4" inputLeft="0" labelTop="5" labelLeft="20" />
    <item type="label" labelWidth="60" />
    <item type="newcolumn" />
    <item type="checkbox" name="SaveLoginBit" value="False" label="Save Login" labelAlign="right" position="absolute" inputTop="4" inputLeft="104" labelTop="5" labelLeft="124" />
    <item type="hidden" name="LogonSessionID" value="" />
  </item>
  <item type="block">
    <item type="button" name="Submit" width="50" value="Submit" position="absolute" inputTop="22" inputLeft="230" />
  </item>
</items>

@using SquishIt.Mvc 
@{
    Layout = null;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title>TiPSView Login</title>
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="-1" />
        <link rel="shortcut icon" type="image/x-icon" href="@Url.Content("~/Content/favicon.ico")" />
        @(Html.BundleCss()
              .Add("~/Scripts/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.css")
              .Add("~/Scripts/dhtmlx/dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_skyblue.css")
              .Add("~/Scripts/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.css")
              .Add("~/Scripts/dhtmlx/dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_skyblue.css")
              .Add("~/Scripts/dhtmlx/dhtmlxForm/codebase/skins/dhtmlxform_dhx_skyblue.css")
              .Add("~/Content/Site.css")
              .MvcRender("~/Content/SquishIt/BaseLogon_#.css"))
    </head>
    <body oncontextmenu="return false;">
        <!-- Empty on purpose, JavaScript populates HTML -->
        <!-- Text ruler used to measure text from JavaScript -->
        <span id="TextRuler" class="TextRuler"></span>
    </body>
    <script language="javascript" type="text/javascript">
        var SKIN_NAME          = "dhx_skyblue";

        var URL_WINDOWS_IMAGES = "@Url.Content("~/Scripts/dhtmlx/dhtmlxWindows/codebase/imgs/")";
        var URL_LOGIN_FORM     = "@Url.Content("~/XML/Forms/Base/Logon.xml")";
        var URL_LOGIN          = "@Url.Content("~/Base/Login/")";
        var URL_MAIN           = "@Url.Content("~/Base/Main/")";

        var LOGON_SESSION_ID   = "@(Session["LOGON_SESSION_ID"])";
        var LOGOFF_MESSAGE     = "@(ViewData.ContainsKey("LogOffMessage") ? ViewData["LogOffMessage"] : "")";
    </script>
    @(Html.BundleJavaScript()
          .Add("~/Scripts/dhtmlx/dhtmlxLayout/codebase/dhtmlxcommon.js")
          .Add("~/Scripts/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.js")
          .Add("~/Scripts/dhtmlx/dhtmlxLayout/codebase/dhtmlxcontainer.js")
          .Add("~/Scripts/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.js")
          .Add("~/Scripts/dhtmlx/dhtmlxForm/codebase/dhtmlxform.js")
          .Add("~/Scripts/Global.js")
          .Add("~/Scripts/Utility/Browser.js")
          .Add("~/Scripts/Utility/XML.js")
          .Add("~/Scripts/Utility/ErrorHandler.js")
          .Add("~/Scripts/Utility/Form.js")
          .Add("~/Scripts/Utility/MessageBox.js")
          .Add("~/Scripts/Base/Logon.js")
          .MvcRender("~/Content/SquishIt/BaseLogon_#.js"))
</html>

    //-----------------------------------------------------------------------------------
    // Name:        Initialize
    // Purpose:     Initializes our web application's UI.
    this.Initialize = function () {  
        moUI         = new Object();                                        // Initialize globals
        moXML        = new XML();
        moMessageBox = new MessageBox();
        moError      = new ErrorHandler();
                                          
        moUI.layoutLogin = new dhtmlXLayoutObject(document.body, "1C");     // Layout initialization
        moUI.layoutLogin.id = "layMain";

        moUI.panelLogin = moUI.layoutLogin.items[0];                        // Set login panel
        moUI.panelLogin.hideHeader();

        moUI.Windows = moUI.layoutLogin.dhxWins;                            // Windows manager initialization
        moUI.Windows.setImagePath(URL_WINDOWS_IMAGES);
        moUI.Windows.setSkin(SKIN_NAME);
         
        moError.Initialize(moXML, moMessageBox, moUI.Windows)               // Initialize error handling
        
        if (!IsIECompatibilityViewMode(moMessageBox, moUI.Windows))         // Ensure we are not in compatibility view mode (IE)
        {                                                                    
            moUI.winLogon = InitLogonWindow(moUI.Windows);                  // Logon window intialization
            moUI.frmLogon = InitLogonForm(moUI.winLogon);

            moUI.layoutLogin.attachEvent("onResizeFinish", function() {
                moUI.winLogon.center();
            });
        }
    }

    function InitLogonWindow(oWindows)
    {
        var winLogin;

        winLogin = oWindows.createWindow(CreateGUID(), 0, 0, 384, 160);

        winLogin.setIcon("key.png", "key.png");
        winLogin.setText("User Login");
        
        winLogin.denyMove();
        winLogin.denyPark();
        winLogin.denyResize();
        
        winLogin.button("stick").hide();
        winLogin.button("sticked").hide();
        winLogin.button("help").hide();
        winLogin.button("park").hide();
        winLogin.button("minmax1").hide();
        winLogin.button("minmax2").hide();
        winLogin.button("dock").hide();
        winLogin.button("close").hide();

        winLogin.keepInViewport(true);
        winLogin.setModal(true);
        winLogin.center();

        return winLogin;
    }

3.0:
skydrive.live.com/redir.aspx?ci … are&type=1

3.5:
skydrive.live.com/redir.aspx?ci … are&type=1