Opened 12 years ago

Closed 12 years ago

Last modified 11 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:

<html>
<head>
<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"
	</style>
	<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">
	</script>

	 <style>
		html, body {width: 100%; height: 100%; margin: 0; padding: 0; }
	</style>

	<script type="text/javascript">
		dojo.require("dojo.parser");
		dojo.require("dijit.layout.TabContainer");
		dojo.require("dijit.layout.ContentPane");
	</script>
</head>
<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>
		<div id="AgreementTab" dojoType="dijit.layout.ContentPane" title="Agreement" closable="false" selected="true">
		</div>  
	</div>
</body>
</html>

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?.

Thanks!

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 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 12 years ago by bill

Attachment: tab.html added

comment:2 Changed 11 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.