Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6794 closed defect (worksforme)

TabContainer: full screen layout problem

Reported by: guest Owned by: anonymous
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1b1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Hi, I have some question when I use dijit.layout.TabContainer?, I want to use a full screen layout,so I use it like this:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<style type="text/css">
		 @import "../Resource/Include/dojojs/dijit/themes/tundra/tundra.css";
		 @import "../Resource/Include/dojojs/dojo/resources/dojo.css"
	<script src="../Resource/Include/js/Common.js" type="text/javascript"></script>
	<script src="../Resource/Include/js/Validate.js" type="text/javascript"></script>

	<script type="text/javascript" src="../Resource/Include/dojojs/dojo/dojo.js" djconfig="parseOnLoad: true">

		html, body {width: 100%; height: 100%; margin: 0; padding: 0; }

	<script type="text/javascript">
<body class="tundra">
	<div id="mainTabContainer" dojoType="dijit.layout.TabContainer" style="width: 100%; height: 100%; padding: 0; margin: 0; border: 0;">
		<div id="HomeTab" dojoType="dijit.layout.ContentPane" title="Home" closable="false" selected="true">
		<div id="AgreementTab" dojoType="dijit.layout.ContentPane" title="Agreement" closable="false" selected="true">

when I run this program,the page displays blank.But if I change TabContainer? to LayoutContainer?,the page displays normally. I'm not sure if it is a bug or Release 1.1.1 does not support full screen layout in TabContainer?.


Attachments (1)

tab.html (968 bytes) - added by bill 14 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 14 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Resolution: worksforme
Status: newclosed
Summary: dijit bug:TabContainerTabContainer: full screen layout problem

Works for me... I'm attaching the testcase I used, which is basically a copy of what you cut/pasted. You didn't say which browser so I tried FF2.

Changed 14 years ago by bill

Attachment: tab.html added

comment:2 Changed 14 years ago by bill

Milestone: 1.2

marking tickets closed in the last three months w/blank milestone to milestone 1.2.

Note: See TracTickets for help on using tickets.