Opened 9 years ago

Closed 9 years ago

#12364 closed defect (duplicate)

[regression] incorrect splitter size between two dijit.layout.ContentPane

Reported by: Eric Pasquier Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.6.0rc1
Keywords: splitter ContentPane Cc:
Blocked By: Blocking:

Description

If you define splitter="true" for both ContentPane?, the size of the splitter is too large and mask the right part of the screen.
This is working with 1.5.0. Not working since 1.6.0b1.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>Test splitter</title>

<style type="text/css">
  @import "/dojo-release-1.6.0rc1-src/dijit/themes/soria/soria.css";

html, body, #maindojo {
  height:100%;
}
* {
  margin: 0px;
  padding: 0px;
}
</style>
<script type="text/javascript">
  var djConfig = {"parseOnLoad":true};
</script>
<script type="text/javascript" src="/dojo-release-1.6.0rc1-src/dojo/dojo.js"></script>

<script type="text/javascript">
  dojo.require("dojo.parser");
  dojo.require("dijit.layout.BorderContainer");
  dojo.require("dijit.layout.ContentPane");
</script>

</head>
<body class="soria">
  <div id="maindojo" dojoType="dijit.layout.BorderContainer" gutter="false" design="sidebar" liveSplitters="false">

    <!-- Left panel -->
    <div dojoType="dijit.layout.ContentPane" splitter="true" region="left">
      Left side
    </div>

    <!-- Right panel -->
    <div dojoType="dijit.layout.ContentPane" splitter="true" region="center" >
      Right side
    </div>

  </div>
</body>
</html>

Change History (1)

comment:1 Changed 9 years ago by bill

Resolution: duplicate
Status: newclosed

Thanks, already fixed in [23900].

Note: See TracTickets for help on using tickets.